Skip to content

Commit b2fbb50

Browse files
committed
remove requirements.txt
1 parent 45ea792 commit b2fbb50

3 files changed

Lines changed: 5 additions & 16 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
pip install -r requirements.txt
2726
pip install pyinstaller
28-
pip install .
27+
pip install ".[gui]"
2928
- name: Build with PyInstaller
3029
run: |
3130
pyinstaller --windowed --icon=gui/Logo_PyNutil.ico --name PyNutil gui/PyNutilGUI.py
@@ -55,10 +54,9 @@ jobs:
5554
- name: Install dependencies
5655
run: |
5756
python -m pip install --upgrade pip
58-
pip install -r requirements.txt
5957
pip install pyinstaller
6058
pip install dmgbuild
61-
pip install .
59+
pip install ".[gui]"
6260
- name: Build with PyInstaller
6361
run: |
6462
# Build without specifying an icon for macOS to avoid format issues

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ dependencies = [
2525
[project.urls]
2626
Homepage = "https://github.com/Neural-Systems-at-UIO/PyNutil"
2727

28+
[project.optional-dependencies]
29+
gui = ["PyQt6"]
30+
2831
[tool.setuptools.packages.find]
2932
include = ["PyNutil*"]
3033

requirements.txt

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

0 commit comments

Comments
 (0)