-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
40 lines (32 loc) · 1.28 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
#!/usr/bin/env python
# coding:utf-8
from distutils.core import setup
def get_version():
from os.path import dirname, join
for line in open(join(dirname(__file__), 'pyprocessing/constants.py')):
if 'version' in line:
version = line.split('"')[1]
return version
long_description = '''
This Python package provides an environment for graphics applications that
closely resembles that of the Processing system.
The project mission is to implement Processing's friendly graphics
functions and interaction model in Python. Not all of Processing is ported,
though, since Python itself already provides alternatives for many features
of Processing.
The pyprocessing backend is built upon OpenGL and Pyglet,
which provide the actual graphics rendering. Since these are multiplatform,
so is pyprocessing.
'''
# MAKE SURE THE VERSION BELOW IS THE SAME AS THAT IN CONSTANTS.PY!
setup(name='pyprocessing',
version=get_version(),
description='A Processing-like environment for Python',
long_description=long_description,
author='Claudio Esperanca',
author_email='claudio.esperanca@gmail.com',
url='http://code.google.com/p/pyprocessing/',
license='BSD',
packages=['pyprocessing'],
install_requires = ["pyglet>=1.1.4"],
)