-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
37 lines (34 loc) · 1.23 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
from setuptools import setup, find_packages
def readme(short=False):
with open('README.rst') as f:
if short:
return f.readlines()[1].strip()
else:
return f.read()
setup(
name='maxsmooth',
version='1.2.1',
description='maxsmooth:Derivative Constrained Function Fitting',
long_description=readme(),
author='Harry T. J. Bevins',
author_email='[email protected]',
url='https://github.com/htjb/maxsmooth',
packages=find_packages(),
install_requires=['numpy', 'scipy', 'cvxopt', 'matplotlib', 'progressbar'],
license='MIT',
extras_require={
'docs': ['sphinx', 'sphinx_rtd_theme', 'numpydoc'],
},
tests_require=['pytest'],
classifiers=[
'Intended Audience :: Science/Research',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Astronomy',
'Topic :: Scientific/Engineering :: Physics',
],
)