-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
71 lines (62 loc) · 2.44 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
#!/usr/bin/python3
"""Package setup script for pyrrole."""
import os
import setuptools
from distutils.core import setup
name = 'pyrrole'
this_directory = os.path.abspath(os.path.dirname(__file__))
version_file = open(os.path.join(this_directory, "VERSION"))
version = version_file.read().strip()
url = 'https://github.com/dudektria/pyrrole'
download_url = \
'{:s}/archive/{:s}.tar.gz'.format(url, version)
with open(os.path.join(this_directory, 'README.rst')) as f:
long_description = f.read()
install_requires = ["cclib>=1.5.3",
"matplotlib>=2.1.1",
"networkx>=2.1",
"pandas>=0.23.4",
"pyparsing>=2.2.0",
"tables"]
if os.environ.get('READTHEDOCS') != 'True':
install_requires.append("openbabel>=2.4.1")
setup(name=name,
version=version,
url=url,
download_url=download_url,
author='Felipe S. S. Schneider',
author_email='schneider.felipe@posgrad.ufsc.br',
license='MIT',
description=('A Python package for solving problems in chemistry with '
'computational modeling.'),
long_description=long_description,
classifiers=["Programming Language :: Python :: 3",
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Education",
"Topic :: Software Development :: Libraries :: Python Modules"], # noqa
keywords=['science',
'research',
'chemistry'],
packages=setuptools.find_packages(exclude=['*test*']),
install_requires=install_requires,
setup_requires=['nose>=1.0'],
test_suite='nose.collector',
include_package_data=True,
command_options={
'build_sphinx': {
'project': ('setup.py', name),
'version': ('setup.py', version),
'release': ('setup.py', version),
'build_dir': ('setup.py', 'docs/_build'),
'builder': ('setup.py', 'html doctest'),
}
},
)