-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
81 lines (74 loc) · 2.19 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
import sys
from setuptools import Extension, setup
extra_compile_args = []
if sys.platform.startswith('linux'):
extra_compile_args = ['-fpermissive', '-Wno-write-strings', '-Wno-narrowing']
if sys.platform.startswith('darwin'):
extra_compile_args = ['-std=c++11', '-Wno-writable-strings', '-Wno-c++11-narrowing']
ext = Extension(
name='zengl',
sources=['zengl.cpp'],
depends=['zengl.hpp'],
extra_compile_args=extra_compile_args,
)
with open('README.md') as readme:
long_description = readme.read()
setup(
name='zengl',
version='1.9.2',
ext_modules=[ext],
py_modules=['_zengl'],
data_files=[('.', ['zengl.pyi'])],
license='MIT',
python_requires='>=3.6',
platforms=['any'],
description='Compact Python OpenGL rendering library',
long_description=long_description,
long_description_content_type='text/markdown',
author='Szabolcs Dombi',
author_email='[email protected]',
url='https://github.com/szabolcsdombi/zengl/',
project_urls={
'Documentation': 'https://zengl.readthedocs.io/',
'Source': 'https://github.com/szabolcsdombi/zengl/',
'Bug Tracker': 'https://github.com/szabolcsdombi/zengl/issues/',
},
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Games/Entertainment',
'Topic :: Multimedia :: Graphics',
'Topic :: Multimedia :: Graphics :: 3D Rendering',
'Topic :: Scientific/Engineering :: Visualization',
],
keywords=[
'OpenGL',
'rendering',
'graphics',
'visualization',
],
install_requires=['glcontext'],
extras_require={
'examples': [
'chull',
'ffmpeg-python',
'glcontext',
'imageio-ffmpeg',
'imageio',
'matplotlib',
'numpy',
'objloader',
'pillow',
'progress',
'pybullet',
'pygame',
'pyglet',
'pygmsh',
'pyopengl',
'requests',
'scikit-image',
'vmath',
],
},
)