all repos — mgba @ 748e1943f760d26382c422d6d1e52168f23f3b1f

mGBA Game Boy Advance Emulator

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

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