|
a |
|
b/setup.py |
|
|
1 |
import setuptools |
|
|
2 |
|
|
|
3 |
|
|
|
4 |
with open("README.md", "r") as fin: |
|
|
5 |
long_description = fin.read() |
|
|
6 |
|
|
|
7 |
|
|
|
8 |
if __name__ == "__main__": |
|
|
9 |
setuptools.setup( |
|
|
10 |
name="torchdrug", |
|
|
11 |
description="A powerful and flexible machine learning platform for drug discovery", |
|
|
12 |
long_description=long_description, |
|
|
13 |
long_description_content_type="text/markdown", |
|
|
14 |
url="https://torchdrug.ai/", |
|
|
15 |
author="TorchDrug Team", |
|
|
16 |
version="0.2.1", |
|
|
17 |
license="Apache-2.0", |
|
|
18 |
keywords=["deep-learning", "pytorch", "drug-discovery"], |
|
|
19 |
packages=setuptools.find_packages(), |
|
|
20 |
package_data={ |
|
|
21 |
"torchdrug": [ |
|
|
22 |
"layers/functional/extension/*.h", |
|
|
23 |
"layers/functional/extension/*.cuh", |
|
|
24 |
"layers/functional/extension/*.cpp", |
|
|
25 |
"layers/functional/extension/*.cu", |
|
|
26 |
"utils/extension/*.cpp", |
|
|
27 |
"utils/template/*.html", |
|
|
28 |
] |
|
|
29 |
}, |
|
|
30 |
test_suite="nose.collector", |
|
|
31 |
install_requires=[ |
|
|
32 |
"torch>=1.8.0", |
|
|
33 |
"torch-scatter>=2.0.8", |
|
|
34 |
"torch-cluster>=1.5.9", |
|
|
35 |
"decorator", |
|
|
36 |
"numpy>=1.11", |
|
|
37 |
"rdkit-pypi>=2020.9", |
|
|
38 |
"matplotlib", |
|
|
39 |
"tqdm", |
|
|
40 |
"networkx", |
|
|
41 |
"ninja", |
|
|
42 |
"jinja2", |
|
|
43 |
"lmdb", |
|
|
44 |
"fair-esm", |
|
|
45 |
], |
|
|
46 |
python_requires=">=3.7,<3.11", |
|
|
47 |
classifiers=[ |
|
|
48 |
"Development Status :: 4 - Beta", |
|
|
49 |
'Intended Audience :: Developers', |
|
|
50 |
'Intended Audience :: Science/Research', |
|
|
51 |
"License :: OSI Approved :: Apache Software License", |
|
|
52 |
'Topic :: Scientific/Engineering :: Mathematics', |
|
|
53 |
'Topic :: Scientific/Engineering :: Artificial Intelligence', |
|
|
54 |
'Topic :: Software Development :: Libraries', |
|
|
55 |
"Programming Language :: Python :: 3", |
|
|
56 |
], |
|
|
57 |
) |