-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
55 lines (51 loc) · 1.8 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
#!/usr/bin/env python
import platform
import setuptools
if (
platform.processor() == "arm" or platform.processor() == "i386"
) and platform.system() == "Darwin":
tensorflow_os = "tensorflow-macos>=2.10.0,<=2.15.0"
else:
tensorflow_os = "tensorflow>=2.12.0,<=2.15.0"
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="decimer",
version="2.7.1",
author="Kohulan Rajan",
author_email="[email protected]",
maintainer="Kohulan Rajan, Otto Brinkhaus ",
maintainer_email="[email protected], [email protected]",
description="DECIMER 2.6.0: Deep Learning for Chemical Image Recognition using Efficient-Net V2 + Transformer",
long_description=long_description,
long_description_content_type="text/markdown",
entry_points={
"console_scripts": ["decimer = DECIMER.decimer:main"],
},
url="https://github.com/Kohulan/DECIMER-Image_Transformer",
packages=setuptools.find_packages(),
license="MIT",
install_requires=[
tensorflow_os,
"opencv-python",
"pystow",
"pillow-heif",
"efficientnet",
"selfies",
"pyyaml",
],
package_data={"DECIMER": ["repack/*.*", "efficientnetv2/*.*", "Utils/*.*"]},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.5",
)