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
11 changes: 4 additions & 7 deletions .github/workflows/pr-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ jobs:

- name: install black
run: |
pip install -r requirements.txt
pip install black
pip install -e .[dev]
- name: black
run: black --check .

Expand All @@ -60,7 +59,7 @@ jobs:

- name: install mypy
run: |
pip install -r requirements.txt
pip install -e .[dev]
pip install mypy mypy-protobuf
mypy --version
- name: mypy
Expand All @@ -76,8 +75,6 @@ jobs:
with:
python-version: '3.13'

- name: install dependencies
run: pip install -r requirements.txt
- name: package
run: python -m pip install .
- name: unittest
Expand All @@ -96,7 +93,7 @@ jobs:
python-version: '3.13'

- name: install dependencies
run: pip install -r requirements.txt
run: pip install -e .
- name: unittest
run: python -m unittest discover

Expand All @@ -111,6 +108,6 @@ jobs:
python-version: '3.10'

- name: install dependencies
run: pip install -r requirements.txt
run: pip install -e .
- name: unittest
run: python -m unittest discover
2 changes: 1 addition & 1 deletion .github/workflows/pr-scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Setup sbt launcher
uses: sbt/setup-sbt@v1
- name: install dependencies
run: pip install -r requirements.txt
run: pip install -e .
- name: sbt test
run: cd compiler && sbt -v +test

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ See the [setup documentation](setup.md), then work through building a blinky boa

**Setup tl;dr**: install the Python package from pip: `pip install edg`, and optionally run the [IDE plugin with block diagram visualizer](setup.md#ide-setup).

Building from source: `pip install .` at the repository root.


## Additional Notes

Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@ keywords = ["PCB", "hardware description language"]
dependencies = [
"protobuf >= 3.20.0",
"sexpdata==0.0.3",
"Deprecated",
"Deprecated==1.2.14",
"typing_extensions >= 4.4.0",
"pydantic == 2.8.2",
]
requires-python = ">=3.9"

[project.optional-dependencies]
dev = [
"black",
"types-Deprecated==1.2.9.20240311",
"types-protobuf"
]

[tool.setuptools]
Expand Down
7 changes: 0 additions & 7 deletions requirements.txt

This file was deleted.