forked from BenevolentAI/guacamol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
47 lines (43 loc) · 1.27 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
import io
import re
from os import path
from setuptools import setup
# Get the version from guacamol/__init__.py
# Adapted from https://stackoverflow.com/a/39671214
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
io.open("guacamol/__init__.py", encoding="utf_8_sig").read(),
).group(1)
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="guacamol",
version=__version__,
author="BenevolentAI",
author_email="[email protected]",
description="Guacamol: benchmarks for de novo molecular design",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/BenevolentAI/guacamol",
packages=["guacamol", "guacamol.data", "guacamol.utils"],
package_data={
# NEW
"guacamol": ["py.typed"],
},
license="MIT",
install_requires=[
"joblib>=0.12.5",
"numpy>=1.15.2",
"scipy>=1.1.0",
"tqdm>=4.26.0",
"FCD>=1.1",
"rdkit-pypi>=2021.9.2.1",
],
python_requires=">=3.6",
extras_require={
"rdkit": ["rdkit>=2018.09.1.0"],
},
include_package_data=True,
zip_safe=False,
)