forked from Multiplicom/pyqt-fit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (53 loc) · 2.35 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
#!/usr/bin/env python
from setuptools import setup
#from path import path
#with (path(__file__).dirname() / 'pyqt_fit' / 'version.txt').open() as f:
#__version__ = f.read().strip()
import os.path
version_filename = os.path.join(os.path.dirname(__file__), 'pyqt_fit', 'version.txt')
with open(version_filename, "r") as f:
__version__ = f.read().strip()
extra = {}
setup(name='PyQt-Fit',
version=__version__,
description='Parametric and non-parametric regression, with plotting and testing methods.',
author='Pierre Barbier de Reuille',
author_email='[email protected]',
url=['https://code.google.com/p/pyqt-fit/'],
packages=['pyqt_fit', 'pyqt_fit.functions', 'pyqt_fit.residuals', 'pyqt_fit.test'],
package_data={'pyqt_fit': ['qt_fit.ui',
'version.txt',
'cy_local_linear.pyx',
'_kernels.pyx',
'_kde.pyx',
'cy_binning.pyx',
'math.pxd'
]
},
scripts=['bin/pyqt_fit1d.py'],
install_requires=['distribute >=0.6',
'numpy >=1.5.0',
'scipy >=0.10.0',
'matplotlib',
'path.py==9.1'
],
extras_require={'Cython': ["Cython >=0.17"]
},
license='LICENSE.txt',
long_description=open('README.txt').read(),
classifiers=['Development Status :: 4 - Beta',
'Environment :: X11 Applications :: Qt',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Visualization',
],
test_suite='nose.collector',
platforms=['Linux', 'Windows', 'MacOS'],
**extra
)