forked from crcollins/molml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (52 loc) · 1.95 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
#!/usr/bin/env python
# http://stackoverflow.com/questions/9810603/adding-install-requires-to-setup-py-when-making-a-python-package
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
import pypandoc
try:
LONG_DESCRIPTION = pypandoc.convert('README.md', 'rst')
except:
# Catch all exceptions because FileNotFoundError is only in 3.x
from pypandoc.pandoc_download import download_pandoc
download_pandoc()
LONG_DESCRIPTION = pypandoc.convert('README.md', 'rst')
except ImportError:
with open('README.md', 'r') as f:
LONG_DESCRIPTION = f.read()
setup(
name='molml',
version='0.9.0',
description='An interface between molecules and machine learning',
long_description=LONG_DESCRIPTION,
author='Chris Collins',
author_email='[email protected]',
url='https://github.com/crcollins/molml/',
license='MIT',
packages=['molml'],
test_suite='nose.collector',
tests_require=['nose'],
install_requires=[
'pathos',
'future',
'bidict',
],
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Physics",
]
)