-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
46 lines (42 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
from gettext import install
from setuptools import Extension, setup
from Cython.Build import cythonize
from ctypes.util import find_library
import os
exec(open("molbloom/version.py").read())
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="molbloom",
ext_modules=cythonize(
[
Extension(
"molbloom.bloom",
["molbloom/bloom.pyx"],
libraries=[] if os.name == "nt" else ["m"],
include_dirs=["molbloom/bloom"],
)
]
),
include_dirs=["molbloom/bloom"],
version=__version__,
description="Purchaseable SMILES filter",
author="Andrew White",
author_email="[email protected]",
url="https://whitead.github.io/molbloom/",
license="MIT",
package_data={"molbloom": ["data/*.bloom"]},
install_requires=["importlib_resources"],
setup_requires=["cython"],
packages=["molbloom"],
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Typing :: Typed",
],
)