-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from KOLANYCH-libs:pyproject.toml
Implements migration to PEP 621-compliant pyproject.toml. Merge conflicts were manually resolved (the list of the supported Python versions have changed since the time of the pull request).
- Loading branch information
Showing
7 changed files
with
59 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,8 @@ tox | |
numpy | ||
pandas | ||
wcwidth | ||
setuptools | ||
pip | ||
build | ||
wheel | ||
setuptools_scm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
/tabulate/version.py | ||
|
||
build | ||
dist | ||
.tox | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
# update contributors and CHANGELOG in README | ||
# tag version release | ||
python3 benchmark.py # then update README | ||
tox -e py33,py34,py36-extra | ||
python3 setup.py sdist bdist_wheel | ||
tox -e py37-extra,py38-extra,py39-extra,py310-extra | ||
python3 -m build -nswx . | ||
twine upload --repository-url https://test.pypi.org/legacy/ dist/* | ||
twine upload dist/* | ||
# tag version release | ||
# bump version number in setup.py in tabulate.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.2.0", "wheel", "setuptools_scm[toml]>=3.4.3"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "tabulate" | ||
authors = [{name = "Sergey Astanin", email = "s.astanin@gmail.com"}] | ||
license = {text = "MIT"} | ||
description = "Pretty-print tabular data" | ||
readme = "README.md" | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Topic :: Software Development :: Libraries", | ||
] | ||
requires-python = ">=3.7" | ||
dynamic = ["version"] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/astanin/python-tabulate" | ||
|
||
[project.optional-dependencies] | ||
widechars = ["wcwidth"] | ||
|
||
[project.scripts] | ||
tabulate = "tabulate:_main" | ||
|
||
[tool.setuptools] | ||
packages = ["tabulate"] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "tabulate/version.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters