-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
80 lines (69 loc) · 2.39 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
74
75
76
77
78
79
80
from setuptools import setup
from codecs import open
from os import path
import sys
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'pyked', '_version.py')) as version_file:
exec(version_file.read())
with open(path.join(here, 'README.md')) as readme_file:
readme = readme_file.read()
with open(path.join(here, 'CHANGELOG.md')) as changelog_file:
changelog = changelog_file.read()
with open(path.join(here, 'CITATION.md')) as citation_file:
citation = citation_file.read()
long_description = readme + '\n\n' + changelog + '\n\n' + citation
install_requires = [
'pyyaml>=3.12,<4.0',
'cerberus>=1.0.0,<1.2',
'pint>=0.7.2,<0.9',
'numpy>=1.11.0,<2.0',
'habanero>=0.6.0',
'uncertainties>=3.0.1,<3.1',
]
tests_require = [
'pytest>=3.2.0',
'pytest-cov',
]
extras_require = {
'dataframes': ['pandas >=0.22.0,<0.23'],
}
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
setup_requires = ['pytest-runner'] if needs_pytest else []
setup(
name='pyked',
version=__version__,
description='Package for manipulating Chemical Kinetics Experimental Data (ChemKED) files.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Kyle Niemeyer',
author_email='[email protected]',
url='https://github.com/pr-omethe-us/PyKED',
packages=['pyked', 'pyked.tests'],
package_dir={'pyked': 'pyked'},
include_package_data=True,
install_requires=install_requires,
license='BSD-3-Clause',
zip_safe=False,
keywords=['chemical kinetics'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Chemistry',
],
tests_require=tests_require,
extras_require=extras_require,
setup_requires=setup_requires,
python_requires='~=3.5',
entry_points={
'console_scripts': ['convert_ck=pyked.converters:main',
'respth2ck=pyked.converters:respth2ck',
'ck2respth=pyked.converters:ck2respth',
],
}
)