-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsetup.py
More file actions
62 lines (57 loc) · 1.99 KB
/
setup.py
File metadata and controls
62 lines (57 loc) · 1.99 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/GPFS/zhangli_lab_permanent/zhuqingjie/env/py3_tf2/bin/python
'''
@Time : 20/11/05 下午 01:56
@Author : zhuqingjie
@User : zhu
@FileName: setup.py
@Software: PyCharm
'''
import setuptools
import easyFlyTracker
'''
国内源找不到该包(或者说更新不及时),一定要使用官方源安装:
pip install -i https://pypi.org/simple/ easyFlyTracker
pip install --upgrade -i https://pypi.org/simple/ easyFlyTracker
🀙🀚🀛🀜🀝🀞🀟🀠🀡🀢🀣
🀥🀗🀐🀏🀎🀍🀌🀋🀊🀉
🀙🀚🀛🀜🀝🀞🀟🀠🀡🀢🀣
🀥🀗🀐🀏🀎🀍🀌🀋🀊🀉
'''
with open('requirements.txt') as f:
req = [line.strip() for line in f.readlines() if line.strip()]
with open("README.md", "r", encoding='utf-8') as fh:
long_description = fh.read()
setuptools.setup(
name="easyFlyTracker",
version=easyFlyTracker.__version__,
author="azzhu",
author_email="zhu.qingjie@qq.com",
description="An easy-to-use program for analyzing Drosophila Activity.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/azzhu/EasyFlyTracker",
install_requires=req,
license='MIT',
packages=setuptools.find_packages(),
package_data={
'easyFlyTracker': ['fonts/*.ttf'],
},
project_urls={
"Source Code": "https://github.com/azzhu/EasyFlyTracker",
"Bug Tracker": "https://github.com/azzhu/EasyFlyTracker/issues",
# "Documentation": "", # 待补充修改
},
entry_points={
'console_scripts': [
'easyFlyTracker=easyFlyTracker.cli:easyFlyTracker_',
'easyFlyTracker_analysis=easyFlyTracker.cli:easyFlyTracker_analysis',
'easyFlyTracker_cam_calibration=easyFlyTracker.cli:easyFlyTracker_cam_calibration',
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3',
)