forked from tspspi/allantools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (26 loc) · 956 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
#!/usr/bin/env python
from setuptools import setup
from io import open
import json
import os
pkginfo_path = os.path.join(os.path.dirname(__file__),
'allantools',
'allantools_info.json')
pkginfo = json.load(open(pkginfo_path))
# this info comes from allantools_info.json
setup(name=pkginfo['name'],
version=pkginfo['version'],
description=pkginfo['description'],
author=pkginfo['main_author'],
author_email=pkginfo['main_author_email'],
url=pkginfo['url'],
license=pkginfo['license'],
packages=['allantools', ],
package_data={'allantools': ['allantools_info.json']},
install_requires=['numpy', 'scipy'],
requires=['numpy', 'scipy'],
# include_dirs=[numpy.get_include()],
setup_requires=['pytest-runner'],
tests_require=['pytest', 'numpy'],
long_description=open('README.rst', 'r', encoding='utf8').read(),
)