Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions HOWTOPUBLISH
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ python -m pre_commit run -a # and then commit changes
tox -e py310-extra,py311-extra,py312-extra,py313-extra,py314-extra
# tag version release (vX.Y.Z)
python -m pip install build twine
python -m build -s # this will update tabulate/version.py
python -m build -s # this will update tabulate/_version.py
python -m pip install . # install tabulate in the current venv
python -m pip install -r benchmark/requirements.txt
python benchmark/benchmark.py # then update README
# move tag to the last commit
python -m build -s # update tabulate/version.py
python -m build -s # update tabulate/_version.py
python -m build -nswx .
git push # wait for all CI builds to succeed
git push --tags # if CI builds succeed
Expand Down
6 changes: 0 additions & 6 deletions MANIFEST.in

This file was deleted.

1 change: 0 additions & 1 deletion README

This file was deleted.

10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = ["setuptools>=77.0.3", "setuptools_scm[toml]>=3.4.3"]
build-backend = "setuptools.build_meta"
requires = ["flit>=3.12", "flit_scm"]
build-backend = "flit_scm:buildapi"

[project]
name = "tabulate"
Expand Down Expand Up @@ -32,7 +32,12 @@ widechars = ["wcwidth>=0.6.0"]
[project.scripts]
tabulate = "tabulate:_main"

[tool.flit.sdist]
include = ["CHANGELOG", "test/", "tox.ini"]
exclude = ["tabulate/_version.py"]

[tool.setuptools_scm]
write_to = "tabulate/_version.py"

[dependency-groups]
dev = [
Expand All @@ -45,6 +50,7 @@ dev = [

[tool.ruff]
line-length = 99
exclude = ["tabulate/_version.py"]

[tool.ruff.lint]
extend-select = ["W", "I", "C90"]
Expand Down