|
1 | | -import setuptools, sys |
| 1 | +import sys |
| 2 | +import setuptools |
2 | 3 |
|
| 4 | +print setuptools.find_packages() |
3 | 5 | setuptools.setup( |
| 6 | + license="MIT", |
4 | 7 | name="sc2reader", |
5 | 8 | version='0.4.0', |
6 | | - license="MIT", |
| 9 | + keywords=["starcraft 2","sc2","replay","parser"], |
| 10 | + description="Utility for parsing Starcraft II replay files", |
| 11 | + long_description=open("README.rst").read(), |
7 | 12 |
|
8 | 13 | author="Graylin Kim", |
9 | 14 | |
10 | 15 | url="https://github.com/GraylinKim/sc2reader", |
11 | 16 |
|
12 | | - description="Utility for parsing Starcraft II replay files", |
13 | | - long_description=open("README.rst").read(), |
14 | | - keywords=["starcraft 2","sc2","parser","replay"], |
| 17 | + platforms=["any"], |
| 18 | + |
15 | 19 | classifiers=[ |
16 | | - "Environment :: Console", |
17 | 20 | "Development Status :: 4 - Beta", |
18 | | - "Programming Language :: Python", |
19 | | - "Programming Language :: Python :: 2.7", |
| 21 | + "Environment :: Console", |
20 | 22 | "Intended Audience :: Developers", |
21 | 23 | "License :: OSI Approved :: MIT License", |
22 | 24 | "Natural Language :: English", |
23 | 25 | "Operating System :: OS Independent", |
24 | | - "Environment :: Other Environment", |
25 | | - "Topic :: Utilities", |
26 | | - "Topic :: Software Development :: Libraries", |
| 26 | + "Programming Language :: Python", |
| 27 | + "Programming Language :: Python :: 2.6", |
| 28 | + "Programming Language :: Python :: 2.7", |
| 29 | + "Topic :: Games/Entertainment", |
27 | 30 | "Topic :: Games/Entertainment :: Real Time Strategy", |
| 31 | + "Topic :: Software Development", |
| 32 | + "Topic :: Software Development :: Libraries", |
| 33 | + "Topic :: Utilities", |
28 | 34 | ], |
| 35 | + |
29 | 36 | entry_points={ |
30 | 37 | 'console_scripts': [ |
31 | 38 | 'sc2autosave = sc2reader.scripts.sc2autosave:main', |
|
37 | 44 | 'sc2attributes = sc2reader.scripts.sc2attributes:main', |
38 | 45 | ] |
39 | 46 | }, |
| 47 | + |
40 | 48 | install_requires=['mpyq','argparse'] if float(sys.version[:3]) < 2.7 else ['mpyq'], |
41 | | - packages=['sc2reader', 'sc2reader.scripts', 'sc2reader.plugins', 'sc2reader.data'], |
42 | | - package_data={'sc2reader.data':['*.csv','*.json']}, |
| 49 | + packages=setuptools.find_packages(), |
43 | 50 | include_package_data=True, |
44 | 51 | zip_safe=True |
45 | 52 | ) |
0 commit comments