diff --git a/README.md b/README.md index 297ee89..37e6b4b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ It doesn't contain any useful code but only a minimal working setup for a Python - a basic **project structure** with - tox.ini - - requirements.in + - `pyproject.toml` where the project metadata and dependencies are defined - and a requirements.txt derived from it - an example class - an example unit test (using pytest) diff --git a/pyproject.toml b/pyproject.toml index 0d13591..a7a9339 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] -dependencies = [] # add all the dependencies from requirements.in here, too +dependencies = [] # add all the dependencies here dynamic = ["readme", "version"] [project.urls] @@ -57,4 +57,4 @@ exclude = ["/unittests"] [tool.hatch.build.targets.wheel] only-include = ["src"] -sources = ["src"] \ No newline at end of file +sources = ["src"] diff --git a/requirements.in b/requirements.in deleted file mode 100644 index e69de29..0000000 diff --git a/requirements.txt b/requirements.txt index cf3204d..79ca470 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: # -# pip-compile requirements.in +# pip-compile pyproject.toml # diff --git a/tox.ini b/tox.ini index 42737d0..55a0a5c 100644 --- a/tox.ini +++ b/tox.ini @@ -78,7 +78,7 @@ deps = pre-commit commands = python -m pip install --upgrade pip - pip-compile requirements.in + pip-compile pyproject.toml pip install -r requirements.txt pre-commit install