-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
76 lines (66 loc) · 1.98 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
[build-system]
requires = ["flit_core >=2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.metadata]
module = "sparekeys"
author = "Kale Kundert"
author-email = "kale@thekunderts.net"
home-page = 'https://github.com/kalekundert/sparekeys'
description-file = 'README.rst'
requires-python = "~=3.6"
requires = [
'inform>=1.14',
'shlib>=1.0',
'setuptools',
'toml',
'appdirs',
'docopt',
'python-gnupg>=0.4.3',
]
classifiers = [
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
]
[tool.flit.metadata.requires-extra]
test = [
'pytest',
'pytest-cov',
'parametrize_from_file',
'coveralls',
]
doc = [
'sphinx',
'sphinx_rtd_theme',
'autoclasstoc',
]
[tool.flit.metadata.urls]
'Documentation' = 'https://sparekeys.readthedocs.io/en/latest/'
'Version Control' = 'https://github.com/kalekundert/sparekeys'
'Bug Tracker' = 'https://github.com/kalekundert/sparekeys/issues'
'Continuous Integration' = 'https://github.com/kalekundert/sparekeys/actions'
'Test Coverage' = 'https://coveralls.io/github/kalekundert/sparekeys'
[tool.flit.scripts]
sparekeys = 'sparekeys:main'
[tool.flit.entrypoints."sparekeys.auth"]
getpass = 'sparekeys:auth_getpass'
avendesora = 'sparekeys:auth_avendesora'
[tool.flit.entrypoints."sparekeys.archive"]
ssh = 'sparekeys:archive_ssh'
gpg = 'sparekeys:archive_gpg'
file = 'sparekeys:archive_file'
emborg = 'sparekeys:archive_emborg' # requires emborg>=1.2
avendesora = 'sparekeys:archive_avendesora'
[tool.flit.entrypoints."sparekeys.publish"]
scp = 'sparekeys:publish_scp'
mount = 'sparekeys:publish_mount'
[tool.pytest.ini_options]
addopts = "--doctest-modules --doctest-glob='*.rst'"
doctest_optionflags = 'NORMALIZE_WHITESPACE'
[tool.pccc]
header_length = 72
types = ["chore", "docs", "feat", "fix", "refactor", "style", "test"]
ignore_generated_commits = true
generated_commits = ['^Merge']
[tool.semantic_release]
version_variable = 'sparekeys/__init__.py:__version__'
build_command = 'python -m pip install flit && flit build'