-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (44 loc) · 1.47 KB
/
setup.py
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
#!/usr/bin/env python
import os
from io import open
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
import zalaiConvert
PATH_ROOT = os.path.dirname(__file__)
fpk = find_packages(where=".", exclude=["zalaiConvert.test", "zalaiConvert.demo",
"zalaiConvert.bench"])
fpk += ['zalaiConvert.bin']
print(fpk)
setup(
name='zalaiConvert',
version=zalaiConvert.__version__,
description=zalaiConvert.__description__,
author=zalaiConvert.__author__,
# author_email=pytorch_lightning.__author_email__,
# url=pytorch_lightning.__homepage__,
# download_url='https://github.com/williamFalcon/pytorch-lightning',
# license=pytorch_lightning.__license__,
packages=fpk,
# long_description=open('README.md', encoding='utf-8').read(),
# long_description_content_type='text/markdown',
include_package_data=True, # 将数据文件也打包
package_data={
'zalaiConvert.cfg': ['*.json'],
'zalaiConvert.bin': ['*.exe', '*.dll', '*.sh'],
},
zip_safe=False,
keywords=zalaiConvert.__keywords__,
python_requires='>=3.6',
setup_requires=[],
# install_requires=load_requirements(PATH_ROOT),
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
entry_points={
'console_scripts': [
'zalaiConvert=zalaiConvert.main:main'
]
}
)