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
|
import sys
import os.path
from setuptools import setup
import pgzero
path = os.path.join(os.path.dirname(__file__), 'README.rst')
with open(path, encoding='utf8') as f:
LONG_DESCRIPTION = f.read()
install_requires = [
'pygame>=1.9.2, <2.0',
'numpy',
]
extras_require = {
':python_version < "3.4"': ["enum34"],
}
setup(
name='pgzero',
version=pgzero.__version__,
description="A zero-boilerplate 2D games framework",
long_description=LONG_DESCRIPTION,
author='Daniel Pope',
author_email='mauve@mauveweb.co.uk',
url='http://pypi.python.org/pypi/pgzero',
packages=['pgzero'],
include_package_data=True,
py_modules=['pgzrun'],
entry_points={
'console_scripts': [
'pgzrun = pgzero.runner:main'
]
},
install_requires=install_requires,
extras_require=extras_require,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Education',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Education',
'Topic :: Games/Entertainment',
],
test_suite='test'
)
|