Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ If you already cloned the repository without --recursive, you can change into th
git submodule update --init --recursive

#### Virtualenv
Create a Python 3.7 virtual environment and activate it:
Create a Python >= 3.11 virtual environment and activate it:
```
$ virtualenv venv -p python3.7
$ virtualenv venv
$ source venv/bin/activate
```

Expand All @@ -84,6 +84,7 @@ Install system dependencies (method depends on OS):
- OpenBSD: pkg_add libmagic
- macOS: brew install libmagic
- GDAL (might already be installed)
- Arch: gdal
- macOS: brew install gdal
- wkhtmltopdf (also for pdf generation):
- OpenBSD: pkg_add wkhtmltopdf
Expand All @@ -100,7 +101,7 @@ Install system dependencies (method depends on OS):
#### Python packages
Install pip packages:
```
(venv) $ pip install -r src/requirements/dev.txt
(venv) $ pip install .[dev]
```

#### Postgres
Expand Down
11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies = [
"asyncio==3.4.3",
"commonmark==0.9.1",
"conference-scheduler==3.0.1",
"django-allauth[mfa]==65.8.0",
"django-allauth[mfa]==65.8.1",
"django-bootstrap5==25.1",
"django-colorfield==0.14.0",
"django-cors-headers==4.7.0",
Expand Down Expand Up @@ -54,7 +54,13 @@ dependencies = [
]

[project.optional-dependencies]

bootstrap = [
"factory_boy==3.3.3",
]

dev = [
"bornhack-website[bootstrap]",
"pre-commit==4.2.0",
"setuptools_scm==8.3.1",
"django-debug-toolbar==5.2.0",
Expand All @@ -64,14 +70,15 @@ dev = [
]

test = [
"bornhack-website[bootstrap]",
"beautifulsoup4==4.13.4",
"coverage==7.8.0",
"factory_boy==3.3.3",
"hypothesis==6.131.15",
"beautifulsoup4==4.13.4",
"unittest-xml-reporting==3.2.0",
]


[project.urls]
homepage = "https://github.com/bornhack/bornhack-website"

Expand Down
Loading