-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
executable file
·73 lines (66 loc) · 1.7 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#! /usr/bin/env python
# -*- coding: utf-8 -*-
try:
import os
import sys
import versioneer
reload(sys).setdefaultencoding("UTF-8")
except:
pass
try:
from setuptools import setup, find_packages
except ImportError:
print 'Please install or upgrade setuptools or pip to continue.'
sys.exit(1)
TEST_REQUIRES = [
'pytest-cov',
'pytest-xdist',
'pytest-datafiles',
]
INSTALL_REQUIRES = [
'pytest>=2.8.0',
'numpy',
'pandas>=0.20.1, <=0.20.3',
'scipy',
'tables',
'matplotlib',
'click',
'uncertainties',
'lmfit',
] + TEST_REQUIRES
cwd = os.path.abspath(os.path.dirname(__file__))
with open(cwd + '/README.md') as f:
readme = f.read().strip()
setup(
name='sca_tools',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Scalability Analysis Tools',
long_description=readme,
author='Bhaskar Mookerji',
author_email='[email protected]',
maintainer='Bhaskar Mookerji',
maintainer_email='[email protected]',
url='https://github.com/mookerji/sca_tools',
keywords='',
classifiers=[
'Intended Audience :: Developers',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7'
],
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
tests_require=TEST_REQUIRES,
platforms="Linux,Windows,Mac",
use_2to3=False,
zip_safe=False,
entry_points={
'console_scripts': [
'sca_fit=sca_tools.sca_fit:main',
'sca_agg=sca_tools.sca_agg:main',
],
},
setup_requires=['pytest-runner'],
)