Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/python_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if (Test-Path requirements.txt) { pip install -r requirements.txt }
pip install -e .

- name: Run tests
run: |
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ All code development intended to impact a future release is done on the latest `
The `main` branch contains the latest production code.

#### Development Process
Clone the repo to your machine. Current libraries require the use of Python version 3.11.
Clone the repo to your machine. Current libraries require the use of Python version 3.11; `pip` will refuse to install on other versions.

> Note: Python 3.11 is in the security-fix-only phase and is scheduled to reach End of Life (EOL) on 2027-10-31. The PSF support window for each major release is five years, typically split into bugfix and security phases. See https://devguide.python.org/versions/ and https://endoflife.date/python.

Expand All @@ -190,7 +190,7 @@ Activate the virtual environment (assuming on Windows)*:
Install the requirements:
```
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -e .
```
Run the main application:
```
Expand Down
25 changes: 25 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[project]
name = "ebeam-dashboard"
version = "0.1.0"
description = "EBEAM System Dashboard Software"
requires-python = ">=3.11,<3.12"
dependencies = [
"matplotlib==3.10.8",
"numpy==1.26.4",
"pytest==9.0.2",
"picosdk==1.0",
"pymodbus==3.7.3",
"pyserial==3.5",
"scipy==1.14.1",
"tkdial==0.0.7",
"pandas==2.1.3",
"supabase==2.28.3",
"python-dotenv==1.2.2",
]

[build-system]
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
py-modules = []
14 changes: 0 additions & 14 deletions requirements.txt

This file was deleted.

Loading