forked from viblo/pymunk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
45 lines (42 loc) · 1.54 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
from setuptools import setup # type: ignore
# todo: add/remove/think about this list
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Games/Entertainment",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: pygame",
"Programming Language :: Python :: 3",
]
with (open("README.rst")) as f:
long_description = f.read()
setup(
name="pymunk",
url="http://www.pymunk.org",
author="Victor Blomqvist",
author_email="[email protected]",
version="6.2.1", # remember to change me for new versions!
description="Pymunk is a easy-to-use pythonic 2d physics library",
long_description=long_description,
packages=["pymunk", "pymunk.tests"],
include_package_data=True,
license="MIT License",
classifiers=classifiers,
command_options={
"build_sphinx": {
"build_dir": ("setup.py", "docs"),
"source_dir": ("setup.py", "docs/src"),
}
},
python_requires=">=3.6",
# Require >1.14.0 since that (and older) has problem with returing structs from functions.
install_requires=["cffi >= 1.15.0"],
cffi_modules=["pymunk/pymunk_extension_build.py:ffibuilder"],
extras_require={
"dev": ["pyglet", "pygame", "sphinx", "aafigure", "wheel", "matplotlib"]
},
test_suite="pymunk.tests",
)