Skip to content

Commit 8a26b3e

Browse files
build: move requirements.txt to pyproject.toml
1 parent 4ad186a commit 8a26b3e

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ source .venv/bin/activate
3636
Install the dependencies:
3737

3838
```sh
39-
python3 -m pip install -r requirements.txt
39+
python3 -m pip install -e '.[test]'
4040
```
4141

4242
Generate distribution packages:

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ classifiers = [
1313
license = "MIT"
1414
license-files = ["LICEN[CS]E*"]
1515
dynamic = ["version"]
16+
dependencies = []
17+
18+
[project.optional-dependencies]
19+
test = [
20+
"build==1.2.2.post1",
21+
"twine==6.1.0",
22+
]
1623

1724
[project.urls]
1825
Homepage = "https://github.com/remarkablemark/python_package_template"

requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)