-
Notifications
You must be signed in to change notification settings - Fork 43
/
pyproject.toml
60 lines (51 loc) · 1.8 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
[project]
dynamic = ["version"] # version is managed by setuptools_scm
name = "orgparse"
description = "orgparse - Emacs org-mode parser in Python"
license = {file = "LICENSE"}
authors = [
{name = "Takafumi Arakaki (@tkf)", email = "[email protected]"},
{name = "Dmitrii Gerasimov (@karlicoss)", email = "[email protected]"},
]
maintainers = [
{name = "Dmitrii Gerasimov (@karlicoss)", email = "[email protected]"},
]
keywords = ["org", "org-mode", "emacs"]
# see: http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: BSD License",
"Topic :: Text Processing :: Markup",
]
# TODO add it back later, perhaps via ast?
# long_description=orgparse.__doc__,
[project.urls]
Homepage = "https://github.com/karlicoss/orgparse"
[project.optional-dependencies]
testing = [
"pytest",
]
linting = [
"pytest",
"ruff",
"mypy",
"lxml", # for mypy html coverage
]
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_scheme = "python-simplified-semver"
local_scheme = "dirty-tag"
# nice things about pyproject.toml
# - zip_safe=False isn't neccessary anymore
# - correctly discovers namespace packages by defuilt?
# - correctly handles py.typed by default?
# - handles src layout automatically https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#src-layout
# things I'm not sure about yet
# - avoiding dupliation/variable reuse?
# - file/git dependencies?
# - unclear how to specify namespace package order https://github.com/seanbreckenridge/reorder_editable/issues/2
# TODO
# - maybe it has a nicer pypi upload system? not sure
# e.g. possibly use hatch/flit/pdb/poetry -- but not sure what's the benefit tbh