-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
37 lines (32 loc) · 1.12 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
from distutils.command.build import build
from setuptools import setup
from _cffi_build import shaderc_build
class ShadercBuild(build):
def run(self):
shaderc_build.build()
super(ShadercBuild, self).run()
setup(
name="pyshaderc",
version='1.1.3', # can't use pyshader.__version__
author="realitix",
author_email="realitix@gmail.com",
description="Python CFFI binding for shaderc",
long_description="Python CFFI binding for shaderc",
packages=['_cffi_build', 'pyshaderc'],
install_requires=["cffi"],
setup_requires=["cffi"],
include_package_data=True,
url="http://github.com/realitix/pyshaderc",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.5",
'Programming Language :: Python :: Implementation :: CPython',
],
license="Apache 2.0",
ext_package="pyshaderc",
cmdclass={'build': ShadercBuild},
cffi_modules=["_cffi_build/pyshaderc_build.py:ffi"]
)