|
1 | 1 | ''' |
2 | 2 | Date: 2020-09-21 23:48:26 |
3 | 3 | LastEditors: Rustle Karl |
4 | | -LastEditTime: 2021.05.22 20:32:35 |
| 4 | +LastEditTime: 2022.02.02 17:43:15 |
5 | 5 | ''' |
6 | 6 | import os.path |
7 | 7 |
|
|
18 | 18 | long_description = f.read() |
19 | 19 |
|
20 | 20 | setup( |
21 | | - name='toolkit-py', |
22 | | - version='0.1.10', |
23 | | - url='https://github.com/fujiawei-dev/toolkit-py', |
24 | | - keywords=['toolkit', 'toolset'], |
25 | | - description='Personal toolkit implemented by Python.', |
26 | | - long_description=long_description, |
27 | | - long_description_content_type='text/markdown', |
28 | | - author='White Turing', |
29 | | - author_email='fujiawei@outlook.com', |
30 | | - license='BSD', |
31 | | - packages=find_packages(exclude=('tests', 'tests.*')), |
32 | | - include_package_data=True, |
33 | | - zip_safe=False, |
| 21 | + name='toolkit-py', |
| 22 | + version='0.2.0', |
| 23 | + url='https://github.com/fujiawei-dev/toolkit-py', |
| 24 | + keywords=['toolkit', 'toolset'], |
| 25 | + description='Personal toolkit implemented by Python.', |
| 26 | + long_description=long_description, |
| 27 | + long_description_content_type='text/markdown', |
| 28 | + author='White Turing', |
| 29 | + author_email='fujiawei@outlook.com', |
| 30 | + license='BSD', |
| 31 | + packages=find_packages(exclude=('tests', 'tests.*')), |
| 32 | + include_package_data=True, |
| 33 | + zip_safe=False, |
| 34 | + install_requires=requires, |
34 | 35 |
|
35 | | - # 必须附带的数据文件 |
36 | | - data_files=[('scripts', |
37 | | - ["scripts/user_agent/static/android_build.json", |
38 | | - "scripts/user_agent/static/android_dev.json", |
39 | | - "scripts/user_agent/static/ios.json", |
40 | | - "scripts/user_agent/static/opera_build.json", ])], |
| 36 | + entry_points={ |
| 37 | + 'console_scripts': [ |
| 38 | + 'gua=user_agent:command_gua', |
| 39 | + 'cfm=open_source_mirror:command_cfm', |
| 40 | + 'cps=project_scaffold:command_cps', |
| 41 | + 'upsfortypora=image_hosting_service:command_ups_for_typora', |
| 42 | + ], |
| 43 | + }, |
41 | 44 |
|
42 | | - entry_points={ |
43 | | - 'console_scripts': [ |
44 | | - 'rpd = scripts:script_rpd', |
45 | | - 'gua = scripts:script_gua', |
46 | | - 'chs = scripts:script_chs', |
47 | | - 'kieng = scripts:script_kieng', |
| 45 | + classifiers=[ |
| 46 | + 'Intended Audience :: Developers', |
| 47 | + 'Environment :: Console', |
| 48 | + 'License :: OSI Approved :: BSD License', |
| 49 | + 'Operating System :: OS Independent', |
| 50 | + 'Programming Language :: Python :: 3', |
| 51 | + 'Programming Language :: Python :: Implementation :: CPython', |
| 52 | + 'Programming Language :: Python :: Implementation :: PyPy', |
| 53 | + 'Topic :: Software Development :: Libraries :: Python Modules', |
48 | 54 | ], |
49 | | - }, |
50 | | - |
51 | | - classifiers=[ |
52 | | - 'Intended Audience :: Developers', |
53 | | - 'Environment :: Console', |
54 | | - 'License :: OSI Approved :: BSD License', |
55 | | - 'Operating System :: OS Independent', |
56 | | - 'Programming Language :: Python :: 3', |
57 | | - 'Programming Language :: Python :: Implementation :: CPython', |
58 | | - 'Programming Language :: Python :: Implementation :: PyPy', |
59 | | - 'Topic :: Software Development :: Libraries :: Python Modules', |
60 | | - ], |
61 | | - install_requires=requires, |
62 | 55 | ) |
0 commit comments