Skip to content

Conversation

@smurfix
Copy link

@smurfix smurfix commented Sep 1, 2025

This PR aims to modernize the package's build infrastructure.

  • use pyproject.toml instead of setup.py/setup.cfg
  • use pyproject.toml to configure mypy, coverage, pylint, pytest, etc.
  • move source to src/ subdirectory

* create pyproject.toml
  * remove setup.py / setup.cfg
  * move coverage,pylint,mypy config to pyproject.toml
* drop `transitions/version.py` file
  * use setuptools_scm when building
  * use importlib.version at runtime
* use src/ layout to isolate build vs. runtime environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant