generated from CQCL/pytemplate
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* build: migrate to uv * build: restore phirc optional deps * ci: disable docs build on windows
- Loading branch information
Showing
7 changed files
with
1,447 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
.PHONY: install dev dev-all tests lint docs clean build | ||
|
||
install: | ||
pip install . | ||
uv pip install . | ||
|
||
dev: | ||
pip install -e . | ||
uv pip install -e . | ||
|
||
dev-all: | ||
pip install -e .[phirc] | ||
uv pip install -e .[phirc] | ||
|
||
tests: | ||
python tests/e2e_test.py | ||
pytest -s -x -vv tests/test*.py | ||
uv run python tests/e2e_test.py | ||
uv run pytest -s -x -vv tests/test*.py | ||
|
||
lint: | ||
pre-commit run --all-files | ||
uv run pre-commit run --all-files | ||
|
||
docs: | ||
# sphinx-apidoc --implicit-namespaces -f -o docs/source/ pytket | ||
sphinx-build -M html docs/source/ docs/build/ | ||
# uv run sphinx-apidoc --implicit-namespaces -f -o docs/source/ pytket | ||
uv run sphinx-build -M html docs/source/ docs/build/ | ||
|
||
clean: | ||
rm -rf *.egg-info dist build docs/build | ||
|
||
build: clean | ||
python -m build --sdist --wheel -n | ||
uv build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.