Skip to content

Commit

Permalink
Switch to using pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoura committed Jun 22, 2023
1 parent 90a735e commit 7f73726
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ lint:
# build package
.PHONY: build
build:
python3 -m pip install --upgrade build
python -c "import build" || python3 -m pip install build
python3 -m build

# upload package to PyPI
Expand Down
29 changes: 28 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,34 @@
[build-system]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"]
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
name = "cardano-clusterlib"
authors = [
{name = "Martin Kourim", email = "[email protected]"},
]
description = "Python wrapper for cardano-cli for working with cardano cluster"
readme = "README.md"
requires-python = ">=3.8"
keywords = ["cardano", "cardano-node", "cardano-cli", "cardano-node-tests"]
license = {text = "Apache License 2.0"}
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Intended Audience :: Developers",
]
dynamic = ["version"]

[tool.setuptools_scm]

[project.urls]
homepage = "https://github.com/input-output-hk/cardano-clusterlib-py"
documentation = "https://cardano-clusterlib-py.readthedocs.io/"
repository = "https://github.com/input-output-hk/cardano-clusterlib-py"

[tool.black]
line-length = 100

Expand Down
10 changes: 0 additions & 10 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ name = cardano-clusterlib
url = https://github.com/input-output-hk/cardano-clusterlib-py
maintainer = Martin Kourim
maintainer_email = [email protected]
description = Python wrapper for cardano-cli for working with cardano cluster
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Topic :: Software Development :: Libraries :: Python Modules
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Intended Audience :: Developers

[options]
zip_safe = False
Expand Down

0 comments on commit 7f73726

Please sign in to comment.