-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
47 lines (40 loc) · 1.26 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
import sys
from setuptools import setup
cffi_modules = [
'cffi_builders/jpg_c_build.py:ffi',
'cffi_builders/png_c_build.py:ffi',
'cffi_builders/sdl_c_build.py:ffi',
'cffi_builders/sdl_keys_c_build.py:ffi',
]
if sys.platform.startswith("darwin"):
# If we're on Mac OS X, we need extra stuff.
cffi_modules.append('cffi_builders/macosx_c_build.py:ffi')
setup(
name="pygame_cffi",
version="0.2.1",
url='http://github.com/CTPUG/pygame_cffi',
license='LGPL-2.1+',
description="A cffi-based SDL wrapper that copies the pygame API.",
long_description=open('README.md', 'r').read(),
packages=['pygame'],
include_package_data=True,
scripts=[
],
setup_requires=[
'cffi>=1.3.0',
],
cffi_modules=cffi_modules,
install_requires=[
'cffi>=1.3.0',
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)