-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (33 loc) · 1.07 KB
/
setup.py
File metadata and controls
36 lines (33 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#-*- encoding: UTF-8 -*-
from setuptools import setup, find_packages
import sys, os
"""
打包的用的setup必须引入
"""
VERSION = '0.0.1'
with open('README.md') as f:
long_description = f.read()
setup(
name='guidedfilter', # 文件名
version=VERSION, # 版本(每次更新上传Pypi需要修改)
description="Guidedfilter based on Python",
long_description=long_description, # 放README.md文件,方便在Pypi页展示
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='python image guidedfilter filter', # 关键字
author='scloudyy', # 用户名
author_email='onecloud.shen@gmail.com', # 邮箱
url='www.scloudyy.com', # github上的地址,别的地址也可以
license='MIT', # 遵循的协议
packages=['guidedfilter'], # 发布的包名
include_package_data=True,
zip_safe=True,
install_requires=[
'numpy',
'pillow'
], # 满足的依赖
entry_points={
'console_scripts':[
'guidedfilter = guidedfilter.guidedfilter:main'
]
},
)