-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
46 lines (39 loc) · 1.41 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
import os
from setuptools import setup, find_packages
# from setuptools.extension import Extension
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
# Test if rdkit is present with INCHI support
try:
from rdkit.Chem.inchi import INCHI_AVAILABLE
if not INCHI_AVAILABLE:
raise Exception('RDKit with INCHI support is required')
except ImportError:
raise Exception('RDKit with INCHI support is required')
ext_modules = []
from sygma import __version__
setup(
name='SyGMa',
version=__version__,
license='GPL',
author='Lars Ridder',
author_email='[email protected]>',
url='https://github.com/ridderl/sygma',
description='Systematic Generation of potential MetAbolites',
long_description=README,
classifiers=["Intended Audience :: Science/Research",
"Environment :: Console",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Chemistry",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
],
packages=find_packages(),
install_requires=['future'],
package_data={'sygma': ['rules/*.txt']},
entry_points={'console_scripts': ['sygma = sygma.script:main']}
)