Skip to content

Commit 24a9bd0

Browse files
committed
Fix up the setuptools information.
1 parent 140efbb commit 24a9bd0

File tree

2 files changed

+22
-15
lines changed

2 files changed

+22
-15
lines changed

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
include LICENSE.txt
22
include CONTRIBUTORS.txt
3-
include README.txt
4-
recursive-include sc2reader *.csv
3+
include README.rst
4+
recursive-include sc2reader *.csv *.json

setup.py

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
1-
import setuptools, sys
1+
import sys
2+
import setuptools
23

4+
print setuptools.find_packages()
35
setuptools.setup(
6+
license="MIT",
47
name="sc2reader",
58
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(),
712

813
author="Graylin Kim",
914
author_email="[email protected]",
1015
url="https://github.com/GraylinKim/sc2reader",
1116

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+
1519
classifiers=[
16-
"Environment :: Console",
1720
"Development Status :: 4 - Beta",
18-
"Programming Language :: Python",
19-
"Programming Language :: Python :: 2.7",
21+
"Environment :: Console",
2022
"Intended Audience :: Developers",
2123
"License :: OSI Approved :: MIT License",
2224
"Natural Language :: English",
2325
"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",
2730
"Topic :: Games/Entertainment :: Real Time Strategy",
31+
"Topic :: Software Development",
32+
"Topic :: Software Development :: Libraries",
33+
"Topic :: Utilities",
2834
],
35+
2936
entry_points={
3037
'console_scripts': [
3138
'sc2autosave = sc2reader.scripts.sc2autosave:main',
@@ -37,9 +44,9 @@
3744
'sc2attributes = sc2reader.scripts.sc2attributes:main',
3845
]
3946
},
47+
4048
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(),
4350
include_package_data=True,
4451
zip_safe=True
4552
)

0 commit comments

Comments
 (0)