all repos — mgba @ f252436d0aa4b09a9d64c0eed869c9840d8541d4

mGBA Game Boy Advance Emulator

src/platform/python/setup.py.in (view raw)

 1from setuptools import setup
 2import re
 3import os
 4
 5os.environ["BINDIR"] = "${CMAKE_BINARY_DIR}"
 6os.environ["CPPFLAGS"] = " ".join([d for d in "${INCLUDE_FLAGS}".split(";") if d])
 7os.chdir("${CMAKE_CURRENT_SOURCE_DIR}")
 8
 9classifiers = [
10    "Programming Language :: C",
11    "Programming Language :: Python :: 2",
12    "Programming Language :: Python :: 3",
13    "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
14    "Topic :: Games/Entertainment",
15    "Topic :: System :: Emulators"
16]
17
18setup(name="${BINARY_NAME}",
19      version=re.sub("/", "-", "${VERSION_STRING}"),
20      author="Jeffrey Pfau",
21      author_email="jeffrey@endrift.com",
22      url="http://github.com/mgba-emu/mgba/",
23      packages=["mgba"],
24      setup_requires=['cffi>=1.6'],
25      install_requires=['cffi>=1.6', 'cached-property'],
26      extras_require={'pil': ['Pillow>=2.3']},
27      cffi_modules=["_builder.py:ffi"],
28      license="MPL 2.0",
29      classifiers=classifiers
30      )