Skip to content

Commit abcfea9

Browse files
Rename PyGLy to pygly in setup.py, add requires.
1 parent 69da034 commit abcfea9

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

setup.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
#!/usr/bin/env python
22

33
from distutils.core import setup
4+
import sys
45

56
import pygly
67

8+
os_x_requires = ['pyglet(>=1.2)', 'pyobjc(==2.2)']
9+
other_requires = ['pyglet']
10+
711
setup(
8-
name = 'PyGLy',
12+
name = 'pygly',
913
version = pygly.__version__,
1014
description = 'Pyglet based 3D Framework',
1115
long_description = """An OpenGL framework designed for flexbility
@@ -15,6 +19,15 @@
1519
author = 'Adam Griffiths',
1620
author_email = '[email protected]',
1721
url = 'https://github.com/adamlwgriffiths/PyGLy',
22+
requires = [
23+
'numpy',
24+
'cython',
25+
'pil',
26+
'pyrr',
27+
]
28+
+ (
29+
os_x_requires if 'darwin' in sys.platform else other_requires
30+
),
1831
platforms = [ 'any' ],
1932
test_suite = "pygly.test",
2033
packages = [

0 commit comments

Comments
 (0)