-
Notifications
You must be signed in to change notification settings - Fork 81
/
setup.py
50 lines (45 loc) · 1.48 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
from setuptools import setup
from setuptools.extension import Extension
from Cython.Distutils import build_ext
import numpy
version = '0.1'
install_requires = [
# -*- Extra requirements: -*-
"numpy",
"pyyaml",
]
ext_modules = [Extension("_nbt", ["_nbt.pyx"])]
setup(name='pymclevel',
version=version,
description="Python library for reading Minecraft levels",
long_description=open("./README.txt", "r").read(),
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
],
keywords='minecraft',
author='David Vierra',
author_email='[email protected]',
url='https://github.com/mcedit/pymclevel',
license='MIT License',
package_dir={'pymclevel': '.'},
packages=["pymclevel"],
ext_modules=ext_modules,
include_dirs=numpy.get_include(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
cmdclass={'build_ext': build_ext},
entry_points="""
# -*- Entry points: -*-
[console_scripts]
mce.py=pymclevel.mce:main
""",
)