-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
30 lines (27 loc) · 881 Bytes
/
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
#!/usr/bin/env/ python
from setuptools import setup, find_packages
import os
# retrieve the version
try:
versionfile = os.path.join('plottools','__version__.py')
f = open( versionfile, 'r')
content = f.readline()
splitcontent = content.split('\'')
version = splitcontent[1]
f.close()
except:
raise Exception('Could not determine the version from plottools/__version__.py')
# run the setup command
setup(
name='plottools',
version=version,
license='GPLv3',
description='',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
url='https://github.com/BrechtBa/plottools',
author='Brecht Baeten',
author_email='[email protected]',
packages=find_packages(),
install_requires=['numpy','matplotlib','colorspacious'],
classifiers=['Programming Language :: Python :: 2.7'],
)