-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
65 lines (57 loc) · 1.7 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import os
from setuptools import find_packages, setup
def get_version() -> str:
init = open(os.path.join("SiPMai", "__init__.py"), "r").read().split()
return init[init.index("__version__") + 2][1:-1]
def get_install_requires():
return [
"numpy>=1.16,<1.24",
"torch>=1.4.0",
"packaging",
"tqdm",
"scikit-learn",
"matplotlib",
"scipy",
"pandas",
"opencv-python",
"numba",
"rdkit",
"ray",
]
def get_extras_require():
req = {
"dev": [
"flake8",
"pytest",
"pytest-cov",
"mypy",
],
}
return req
setup(
name='SiPMai',
version=get_version(),
description='A Simple Yet Effective Scanning Tunnel Microscope Image Simulator',
author='Zhiyao Luo, Yaotian Yang, Jiali Li',
author_email='[email protected]',
url='http://github.com/GilesLuo/SiPMai',
packages=find_packages(
exclude=["test", "test.*", "examples", "examples.*", "docs", "docs.*"]
),
entry_points={
'console_scripts': ['generate_pubchem=SiPMai.gen_data.gen_all_data_pipeline:main'],
# 'console_scripts': ['test2=SiPMai.test2:main'],
},
install_requires=get_install_requires(),
package_data={'SiPMai': ['smiles/*.json']},
include_package_data=True,
long_description=open("README.md", encoding="utf8").read(),
long_description_content_type="text/markdown",
license="MIT",
python_requires='>=3.6, <3.10',
keywords=["Chemistry Simulation", "STM Image Synthesis"],
extras_require=get_extras_require(),
project_urls={
"Source Code": "https://github.com/GilesLuo/SiPMai",
}
)