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
|
#!/usr/bin/env python
from distutils.core import setup, Extension
DESCRIPTION = """\
chemfp is a set of command-lines tools for generating cheminformatics
fingerprints and searching those fingerprints by Tanimoto similarity,
as well as a Python library which can be used to build new tools.
These algorithms are designed for the dense, 100-10,000 bit
fingerprints which occur in small-molecule/pharmaceutical
chemisty. The Tanimoto search algorithms are implemented in C for
performance and support both threshold and k-nearest searches.
Fingerprint generation can be done either by extracting existing
fingerprint data from an SD file or by using an existing chemistry
toolkit. chemfp supports the Python libraries from Open Babel,
OpenEye, and RDKit toolkits.
"""
setup(name = "chemfp",
version = "1.0",
description = DESCRIPTION,
author = "Andrew Dalke",
author_email = 'dalke@dalkescientific.com',
url = "http://code.google.com/p/chem-fingerprints/",
license = "MIT",
classifiers = ["Development Status :: 5 - Production/Stable",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Software Development :: Libraries :: Python Modules"],
packages = ["chemfp", "chemfp.commandline"],
package_data = {"chemfp": ["rdmaccs.patterns", "substruct.patterns"]},
scripts = ["ob2fps", "oe2fps", "rdkit2fps", "sdf2fps", "simsearch"],
ext_modules = [Extension("_chemfp",
["src/bitops.c", "src/chemfp.c",
"src/heapq.c", "src/fps.c",
"src/searches.c",
"src/python_api.c"],
extra_compile_args = ["-O3"],
)],
)
|