-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
94 lines (80 loc) · 2.11 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
[project]
name = "adsaffildb"
version = "0.2.0"
description = "Affiliation database management pipeline"
authors = [{ name = "Matthew Templeton", email = "[email protected]"}]
license = { text = "MIT" }
readme = "README.md"
repository = "https://github.com/adsabs/ADSAffilDB"
documentation = "https://adsaffildb.readthedocs.io"
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
]
packages = [
"adsaffildb",
]
dependencies = [
'click>=8.0.3',
'adsputils==1.5.2',
'psycopg2-binary==2.9.3',
'SQLAlchemy-Utils==0.38.2',
'alembic==1.0.0',
]
[project.urls]
Source = "https://github.com/adsabs/ADSAffilDB"
Documentation = "https://adsaffildb.readthedocs.io"
[project.optional-dependencies]
dev = [
'black==23.1.0',
'flake8==5.0.4',
'isort==5.12.0',
'pytest==6.2.5',
'pyupgrade==2.29.1',
'pytest-mock==3.6.1',
'pre-commit==2.16.0',
'coveralls==3.3.1',
'mock==4.0.3',
'coverage==6.2',
'pytest-cov==3.0.0',
'pytest-cookies==0.6.1',
'semantic-release==0.1.0',
]
docs = [
'Sphinx==7.2.6',
'myst-parser==2.0.0',
'sphinx-rtd-theme==2.0.0'
]
[tool.semantic_release]
branch = "main"
version_toml = "pyproject.toml:project.version"
version_variable = "adsaffildb/version.py:__version__"
build_command = "flit build"
[tool.pytest.ini_options]
addopts = "-v -Wdefault --cov=adsaffildb"
cache_dir = ".tmp/"
[tool.coverage.run]
data_file = ".tmp/.coverage"
[tool.coverage.report]
skip_empty = true
skip_covered = true
[tool.isort]
profile = "black"
known_first_party = ["adsaffildb", "tests"]
[tool.black]
line-length = 99 # override black's default line-length
[build-system]
requires = ["setuptools==60.10.0", "wheel", "flit_core >=3.2,<4", "ppsetuptools==2.0.2"]
build-backend = "flit_core.buildapi"
#build-backend = "setuptools.build_meta"
# see setup.py for explanation of these
[xsetup.entry_points]
console_scripts = [
"adsaffildb=adsaffildb.cli:cli",
]
[xsetup]
scripts = [
]