-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
142 lines (120 loc) · 3.45 KB
/
pyproject.toml
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[tool.poetry]
name = "nestor-qt"
version = "0.0.0"
description = "Legacy (Qt5) GUI for the Nestor annotation tool"
authors = ["Rachael Sexton <[email protected]>",
"saschaMoccozet"]
include = ["*.md", "*.rst", "*.ui", "*.yaml"]
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Manufacturing",
"Topic :: Scientific/Engineering :: Information Analysis",
"Programming Language :: Python :: 3",
"License :: Public Domain"
]
keywords = [ "nlp", "smart", "manufacturing", "maintenance", "tag", "app" ]
homepage = "https://www.nist.gov/services-resources/software/nestor"
repository = "https://github.com/usnistgov/nestor-qt"
packages = [
{ include = "nestor_qt" },
]
[tool.poetry.scripts]
nestor-qt = 'nestor_qt.app:main'
[tool.poetry.dependencies]
python = ">=3.8,<3.10"
chardet = "^3.0.4"
pyaml = "^20.4.0"
# nestor = "~0.4.0"
# documentation stuff
# sphinx = { version = "^3.2.1", optional= true }
# sphinx_rtd_theme = { version = "^0.5.0", optional= true }
# sphinxcontrib-bibtex = { version = "^1.0.0", optional= true }
# numpydoc = { version = "^1.1.0", optional= true }
# m2r = { version = "^0.2.1", optional= true }
# nbsphinx = { version = "^0.7.1", optional= true }
# nist-nestor = "^0.4.3"
seaborn = "^0.11.0"
pyqt5-qt5 = "5.15.2"
pyqt5 = "^5.15.10"
pandas = "<2"
nist-nestor = "^0.5.0"
[tool.poetry.dev-dependencies]
# nestor = { path = "../nestor/dist/nestor-0.4.0.tar.gz", develop = true }
# packaging stuff
taskipy = "^1.2.1"
black = "^19.10b0"
# ipykernel = "^5.2.1"
# briefcase = "^0.3.3"
# pyinstaller = "^4.0"
# pyinstaller-hooks-contrib = "^2020.8"
# [tool.poetry.extras]
# docs = [
# "sphinx",
# "sphinx_rtd_theme",
# "sphinxcontrib-bibtex",
# "numpydoc",
# "m2r",
# "nbsphinx"
# ]
[tool.taskipy.tasks]
format = "task format_code && task format_docs"
format_code = "black nestor_qt/*.py"
format_docs = "black README.md && black docs/*.md"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
format = "{base}"
[tool.poetry-dynamic-versioning.substitution]
# Briefcase app packaging
[tool.briefcase]
project_name = "Nestor Qt"
bundle = "gov.nist"
version = "0.3.0"
url = "https://www.nist.gov/services-resources/software/nestor"
license = "Other"
author = 'Rachael Sexton'
author_email = "[email protected]"
[tool.briefcase.app.nestor-qt]
formal_name = "Nestor Qt"
description = "Legacy (Qt5) GUI for the Nestor annotation tool"
icon = "nestor_qt/resources/nestor-qt"
sources = ['nestor_qt']
requires = []
[tool.briefcase.app.nestor-qt.macOS]
requires = []
[tool.briefcase.app.nestor-qt.linux]
requires = [
'nist-nestor>=0.4.3',
'pyqt5>=5.15.0',
'chardet>=3.0.4',
'pyaml>=20.4.0'
]
system_requires = [
"python3-pyqt5",
"python3-pyqt5.qtopengl",
"python3-pyqt5.qtquick",
'libglu1-mesa-dev',
'libpulse-dev',
'libasound2',
'libqt5gui5',
'qt5-default',
'libgirepository1.0-dev',
'libcairo2-dev'
]
[tool.briefcase.app.nestor-qt.windows]
requires = [
'nist-nestor>=0.4.3',
'pyqt5>=5.15.0',
'chardet>=3.0.4',
'pyaml>=20.4.0'
]
# Mobile deployments
[tool.briefcase.app.nestor-qt.iOS]
requires = []
[tool.briefcase.app.nestor-qt.android]
requires = []
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"