forked from Kohulan/DECIMER-Image-Segmentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (48 loc) · 1.59 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
#!/usr/bin/env python
import setuptools
import platform
if (
platform.processor() == "arm" or platform.processor() == "i386"
) and platform.system() == "Darwin":
tensorflow_os = "tensorflow-macos==2.10.0"
else:
tensorflow_os = "tensorflow==2.12.0"
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="decimer_segmentation",
version="1.3.0",
author="Kohulan Rajan",
author_email="[email protected]",
maintainer="Kohulan Rajan",
maintainer_email="[email protected]",
description="DECIMER Segmentation - Extraction of chemical structure depictions from scientific literature",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Kohulan/DECIMER-Image-Segmentation",
packages=setuptools.find_packages(),
license="MIT",
install_requires=[
tensorflow_os,
"numpy>=1.2.0",
"scikit-image>=0.2.0",
"pillow",
"opencv-python",
"matplotlib",
"IPython",
"pdf2image",
"scipy"
],
package_data={"decimer_segmentation": ["mrcnn/*.*"]},
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 :: Only",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.5",
)