-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
69 lines (64 loc) · 2.82 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
66
67
68
69
import setuptools
import pathlib
## build with python setup.py bdist_wheel
## upload to testpypi w/ python3 -m twine upload --repository testpypi dist/*
here = pathlib.Path(__file__).parent.resolve()
with open(here / "README.md", "r") as fh:
long_description = fh.read()
with open(here / "requirements.txt", "r") as f:
install_requires = list(f.read().splitlines())
setuptools.setup(
name="exsclaim",
version="0.1.0",
author=('Eric Schwenker','Trevor Spreadbury','Weixin Jiang','Maria Chan'),
author_email="[email protected]",
description="EXSCLAIM! is a library for the automatic EXtraction, Separation, and Caption-based natural Language Annotation of IMages from scientific figures.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/MaterialEyes/exsclaim",
packages=setuptools.find_packages(),
install_requires= install_requires,
package_data={
'exsclaim': ['figures/config/yolov3_default_master.cfg',
'figures/config/yolov3_default_subfig.cfg',
'figures/config/scale_label_reader.json',
'figures/scale/corpus.txt',
'captions/models/characterization.yml',
'captions/models/patterns.yml',
'captions/models/reference.yml',
'captions/models/rules.yml',
'tests/data/nature_test.json',
'ui/static/*',
'ui/static/style/*',
'ui/static/scripts/*',
'ui/home/templates/exsclaim/*',
'ui/results/templates/exsclaim/*',
'ui/query/templates/exsclaim/*',
'utilities/database.ini',
'tests/data/images/pipeline/*',
'tests/data/nature_articles/*',
'tests/data/nature_search.html',
'tests/data/images/scale_bar_test_images/*',
'tests/data/images/scale_label_test_images/*',
'tests/data/nature_closed_expected.json']
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Image Processing",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
entry_points = {
'console_scripts': [
'exsclaim=exsclaim.command_line:main',
],
},
python_requires='>=3.6',
project_urls={
'Documentation': 'https://github.com/MaterialEyes/exsclaim/wiki',
'Source': 'https://github.com/MaterialEyes/exsclaim',
'Tracker': 'https://github.com/MaterialEyes/exsclaim/issues',
},
)