Replace setup.py/requirements*.txt with pyproject.toml - #71
Open
tbennun wants to merge 1 commit into
Open
Conversation
Move all packaging metadata into a single PEP 621 pyproject.toml and drop setup.py, requirements.txt, and requirements-ci.txt. - Distribution name is declared as SpaDA; sdist/wheel filenames still normalize to `spada-0.1.0`, so `pip install spada` is unaffected. - Repository URLs point at the new home, https://github.com/spcl/spada. - Core dependencies are now just click, lark, networkx, and numpy. The previously declared `parse` is imported nowhere. `pydot` is only reachable through a commented-out nx_pydot debug dump in syntax/csl/tasks.py, so it moves to the `dev` extra rather than being required for every install. `pycairo` (which needs system cairo, and was the only difference between requirements.txt and requirements-ci.txt) moves to a `render` extra. - Extras: `placement` (igraph/matplotlib/hilbertcurve, used only by the standalone spada/placement research code and its tests), `render`, `docs`, `dev` (= placement + pydot + pytest/black/isort/flake8/yapf), and `all`. - Version stays dynamic from spada.__version__; license corrected to the actual BSD-3-Clause; package data now also ships the two .lark grammars, which the old setup.py package_data omitted. - Version pins relax to lower bounds; the suite passes on numpy 2.x and networkx 3.x, which the old `~=1.24.4` style pins forbade. - CI installs `-e ".[dev]"` instead of requirements-ci.txt, so pytest no longer needs PYTHONPATH and the CSL job drops its duplicate install. Adds a build-package job running `python -m build` + `twine check`. - Makefile, run-in-lima.sh, and README updated to the new install command. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Move all packaging metadata into a single PEP 621 pyproject.toml and drop setup.py, requirements.txt, and requirements-ci.txt.