-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (60 loc) · 1.83 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
#!/usr/bin/env python
# fix building inside a virtualbox VM
# http://bugs.python.org/issue8876#msg208792
try:
import os
del os.link
except:
pass
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# get our version but don't import it
# or we'll need our dependencies already installed
# https://github.com/todddeluca/happybase/commit/63573cdaefe3a2b98ece87e19d9ceb18f00bc0d9
with open('omgl/version.py', 'r') as f:
exec(f.read())
setup(
name='omgl',
version=__version__,
description='Pythonic OpenGL Bindings',
license='BSD',
author='Adam Griffiths',
url='https://github.com/adamlwgriffiths/omgl',
install_requires=[
# due to bugs in 1.9, we MUST use <1.9 (1.8) or some version after the issue is fixed
# it is unclear which version fixed it, lets just be safe and say 1.13.X (which is latest minor version)
# https://github.com/numpy/numpy/issues/5224
'numpy>=1.13.0',
'pyopengl',
'pillow',
],
tests_require=[],
extras_require={
'cyglfw3': ['cyglfw3'],
'accelerate': ['pyopengl-accelerate'],
'pyrr': ['pyrr'],
},
platforms=['any'],
packages=[
'omgl',
'omgl.buffer',
'omgl.mesh',
'omgl.pipeline',
'omgl.shader',
'omgl.texture',
],
classifiers=[
'Natural Language :: English',
'Intended Audience :: Developers',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'License :: OSI Approved :: BSD License',
'Topic :: Multimedia :: Graphics',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)