-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
38 lines (33 loc) · 1.14 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
"""
To install UncertaintyWrapper from source, a cloned repository or an archive,
use ``python setup.py install``.
Use ``python setup.py bdist_wheel`` to make distribute as a wheel.bdist_wheel.
"""
# try to use setuptools if available, otherwise fall back on distutils
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from uncertainty_wrapper import (
__VERSION__, __AUTHOR__, __EMAIL__, __URL__
)
import os
README = 'README.rst'
try:
with open(os.path.join(os.path.dirname(__file__), README), 'r') as readme:
README = readme.read()
except IOError:
pass
setup(name='UncertaintyWrapper',
version=__VERSION__,
description='Uncertainty wrapper using estimated Jacobian',
long_description=README,
author=__AUTHOR__,
author_email=__EMAIL__,
url=__URL__,
packages=['uncertainty_wrapper', 'uncertainty_wrapper.tests'],
requires=['numpy (>=1.8)'],
install_requires=['numpy>=1.8'],
package_data={'uncertainty_wrapper': [
'docs/conf.py', 'docs/*.rst', 'docs/Makefile', 'docs/make.bat'
]})