|
| 1 | +[project] |
| 2 | +dynamic = ["version"] # version is managed by setuptools_scm |
| 3 | +name = "orgparse" |
| 4 | +description = "orgparse - Emacs org-mode parser in Python" |
| 5 | +license = {file = "LICENSE"} |
| 6 | +authors = [ |
| 7 | + { name = "Takafumi Arakaki (@tkf)", email = "[email protected]"}, |
| 8 | + { name = "Dmitrii Gerasimov (@karlicoss)", email = "[email protected]"}, |
| 9 | +] |
| 10 | +maintainers = [ |
| 11 | + { name = "Dmitrii Gerasimov (@karlicoss)", email = "[email protected]"}, |
| 12 | +] |
| 13 | +keywords = ["org", "org-mode", "emacs"] |
| 14 | +# see: http://pypi.python.org/pypi?%3Aaction=list_classifiers |
| 15 | +classifiers = [ |
| 16 | + "Development Status :: 5 - Production/Stable", |
| 17 | + "License :: OSI Approved :: BSD License", |
| 18 | + "Topic :: Text Processing :: Markup", |
| 19 | +] |
| 20 | +# TODO add it back later, perhaps via ast? |
| 21 | +# long_description=orgparse.__doc__, |
| 22 | + |
| 23 | +[project.urls] |
| 24 | +Homepage = "https://github.com/karlicoss/orgparse" |
| 25 | + |
| 26 | +[project.optional-dependencies] |
| 27 | +testing = [ |
| 28 | + "pytest", |
| 29 | +] |
| 30 | +linting = [ |
| 31 | + "pytest", |
| 32 | + "mypy", |
| 33 | + "lxml", # for mypy html coverage |
| 34 | +] |
| 35 | + |
| 36 | + |
| 37 | +[build-system] |
| 38 | +requires = ["setuptools", "setuptools-scm"] |
| 39 | +build-backend = "setuptools.build_meta" |
| 40 | + |
| 41 | +[tool.setuptools_scm] |
| 42 | +version_scheme = "python-simplified-semver" |
| 43 | +local_scheme = "dirty-tag" |
| 44 | + |
| 45 | + |
| 46 | +# nice things about pyproject.toml |
| 47 | +# - zip_safe=False isn't neccessary anymore |
| 48 | +# - correctly discovers namespace packages by defuilt? |
| 49 | +# - correctly handles py.typed by default? |
| 50 | +# - handles src layout automatically https://setuptools.pypa.io/en/latest/userguide/package_discovery.html#src-layout |
| 51 | + |
| 52 | +# things I'm not sure about yet |
| 53 | +# - avoiding dupliation/variable reuse? |
| 54 | +# - file/git dependencies? |
| 55 | +# - unclear how to specify namespace package order https://github.com/seanbreckenridge/reorder_editable/issues/2 |
| 56 | + |
| 57 | +# TODO |
| 58 | +# - maybe it has a nicer pypi upload system? not sure |
| 59 | +# e.g. possibly use hatch/flit/pdb/poetry -- but not sure what's the benefit tbh |
0 commit comments