File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 11[build-system]
22requires = ["setuptools>=61.0"]
33build-backend = "setuptools.build_meta"
4+
5+ [project]
6+ name = "python-nameof"
7+ version = "1.2.2"
8+ description = "A Python implementation of the C# nameof operator."
9+ authors = [
10+ { name="Alessio Lombardi", email="work@alelom.com" }
11+ ]
12+ readme = "README.md"
13+ license = { file = "LICENSE" }
14+ requires-python = ">=3.7"
15+ classifiers = [
16+ "Programming Language :: Python :: 3",
17+ "License :: OSI Approved :: MIT License",
18+ "Operating System :: OS Independent",
19+ ]
20+ dependencies = []
21+
22+ [project.urls]
23+ Homepage = "https://github.com/alelom/python-nameof"
24+
25+ [tool.setuptools]
26+ packages = ["nameof"]
27+ include-package-data = true
28+
29+ [tool.pytest.ini_options]
30+ testpaths = ["tests"]
Original file line number Diff line number Diff line change 11# Release Process
22
3- Update the version in `setup.py `.
3+ Update the version in `pyproject.toml `.
44
55Then build as below.
66
@@ -25,6 +25,7 @@ to delete any previous releases from the `dist` folder and then build.
2525
2626## Release on PyPI
2727
28+ First, if needed: `pip install twine`
2829
2930Upload to PyPi:
3031
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -108,6 +108,8 @@ def run_all_tests():
108108 ]
109109 for test_func in test_functions:
110110 test_func()
111+
112+ print("All tests passed.")
111113
112114
113115if __name__ == "__main__":
You can’t perform that action at this time.
0 commit comments