Skip to content

Commit e0b32d2

Browse files
committed
move requirements into pyproject.toml
1 parent 172510f commit e0b32d2

File tree

5 files changed

+33
-15
lines changed

5 files changed

+33
-15
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ jobs:
3333
steps:
3434
- uses: actions/checkout@v4
3535
- id: foo
36-
uses: hjwp/github-actions@v4
36+
uses: hjwp/github-actions@v5
3737
with:
3838
test_chapter: ${{ matrix.test_chapter }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@
4141
/workshops/js-testing-with-jasmine.html
4242
/tech review/
4343
.vagrant.d
44+
*.egg-info

pyproject.toml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "goat-book"
7+
version = "0"
8+
9+
# most requts are deliberately unpinned so we stay up to date with deps,
10+
# and CI will warn when things change.
11+
dependencies = [
12+
"requests",
13+
"lxml",
14+
"lxml-stubs",
15+
"cssselect",
16+
"django",
17+
"pygments",
18+
"docopt",
19+
"requests",
20+
"selenium<5",
21+
"pytest",
22+
# "pytest-xdist",
23+
"ruff",
24+
"black", # needed as a marker to tell django to use black
25+
"whitenoise", # from chap 10 on
26+
]
27+
28+
[tool.setuptools]
29+
packages = []
30+
131
[tool.ruff.lint]
232
select = [
333
# pycodestyle

requirements.txt

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

0 commit comments

Comments
 (0)