Skip to content

Commit ef79664

Browse files
authored
Merge pull request #194 from input-output-hk/switch_to_pyproject.toml
Switch to using pyproject.toml
2 parents 90a735e + 7f73726 commit ef79664

File tree

3 files changed

+29
-12
lines changed

3 files changed

+29
-12
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ lint:
2222
# build package
2323
.PHONY: build
2424
build:
25-
python3 -m pip install --upgrade build
25+
python -c "import build" || python3 -m pip install build
2626
python3 -m build
2727

2828
# upload package to PyPI

pyproject.toml

+28-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,34 @@
11
[build-system]
2-
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2", "wheel"]
2+
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "cardano-clusterlib"
7+
authors = [
8+
{name = "Martin Kourim", email = "[email protected]"},
9+
]
10+
description = "Python wrapper for cardano-cli for working with cardano cluster"
11+
readme = "README.md"
12+
requires-python = ">=3.8"
13+
keywords = ["cardano", "cardano-node", "cardano-cli", "cardano-node-tests"]
14+
license = {text = "Apache License 2.0"}
15+
classifiers = [
16+
"Topic :: Software Development :: Libraries :: Python Modules",
17+
"Programming Language :: Python :: 3",
18+
"Programming Language :: Python :: 3.8",
19+
"Programming Language :: Python :: 3.9",
20+
"Programming Language :: Python :: 3.10",
21+
"Intended Audience :: Developers",
22+
]
23+
dynamic = ["version"]
24+
25+
[tool.setuptools_scm]
26+
27+
[project.urls]
28+
homepage = "https://github.com/input-output-hk/cardano-clusterlib-py"
29+
documentation = "https://cardano-clusterlib-py.readthedocs.io/"
30+
repository = "https://github.com/input-output-hk/cardano-clusterlib-py"
31+
532
[tool.black]
633
line-length = 100
734

setup.cfg

-10
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,6 @@ name = cardano-clusterlib
33
url = https://github.com/input-output-hk/cardano-clusterlib-py
44
maintainer = Martin Kourim
55
maintainer_email = [email protected]
6-
description = Python wrapper for cardano-cli for working with cardano cluster
7-
long_description = file: README.md
8-
long_description_content_type = text/markdown
9-
classifiers =
10-
Topic :: Software Development :: Libraries :: Python Modules
11-
Programming Language :: Python :: 3
12-
Programming Language :: Python :: 3.8
13-
Programming Language :: Python :: 3.9
14-
Programming Language :: Python :: 3.10
15-
Intended Audience :: Developers
166

177
[options]
188
zip_safe = False

0 commit comments

Comments
 (0)