Skip to content

Commit

Permalink
Get rid of setuptools, use Flit
Browse files Browse the repository at this point in the history
  • Loading branch information
heuer committed Nov 29, 2023
1 parent c16de58 commit c647107
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ['setuptools']
build-backend = 'setuptools.build_meta'
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"


[project]
Expand Down Expand Up @@ -38,22 +38,10 @@ Documentation = "https://segno.readthedocs.io/"
Changes = "https://github.com/heuer/segno/blob/master/CHANGES.rst"


[tool.setuptools]
packages = ["segno"]


[tool.setuptools.dynamic]
version = {attr = "segno.__version__"}


[project.scripts]
segno = "segno.cli:main"


[tool.setuptools.package-data]
segno = ["py.typed", "*.pyi"]


[tool.coverage.run]
branch = true

Expand All @@ -64,8 +52,6 @@ exclude_also = [
"if __name__ == .__main__.:",
]

#TODO!
#[options.data_files]
#share/man/man1 =
# man/segno.1
[tool.flit.external-data]
"share/man/man1" = "man/segno.1"

0 comments on commit c647107

Please sign in to comment.