-
Notifications
You must be signed in to change notification settings - Fork 49
/
setup.py
49 lines (42 loc) · 1.57 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
from setuptools import setup
import os
# Get the version from versioneer
import versioneer
__version__ = versioneer.get_version()
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
long_description = f.read()
extra_doc = ['nbsphinx', 'ipython', 'sphinx_rtd_theme']
# On read the docs we don't install anything
on_rtd = os.environ.get('READTHEDOCS') == 'True'
if on_rtd:
install_requires = extra_doc
else:
install_requires = ['matplotlib',
'numpy',
'pillow',
'lxml',
'scipy',
'jinja2']
setup(name='emva1288',
packages=['emva1288',
'emva1288.report',
'emva1288.camera',
'emva1288.process',
'emva1288.unittests'],
version=__version__,
description='EMVA1288 reference implementation',
long_description=long_description,
author='Federico Ariza',
author_email='[email protected]',
url='https://github.com/EMVA1288/emva1288',
keywords=['sensors', 'cameras'],
classifiers=['Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4'],
install_requires=install_requires,
extras_require={'doc': extra_doc},
package_data={'emva1288': ['report/files/*', 'report/templates/*',
'examples/*']}
)