Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to pyproject.toml for modern packaging and editable installs #227

Open
mcyc opened this issue Dec 16, 2024 · 0 comments
Open

Migrate to pyproject.toml for modern packaging and editable installs #227

mcyc opened this issue Dec 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mcyc
Copy link
Owner

mcyc commented Dec 16, 2024

Legacy editable installs (via setup.py develop) are deprecated and will be removed in pip 25.0. To future-proof the project and align with modern packaging standards, we need to migrate to using a pyproject.toml file as per PEP 660. This ensures compatibility with current and future versions of pip and setuptools.

Proposed Steps:

  1. Add a pyproject.toml file with a minimal configuration:
    [build-system]
    requires = ["setuptools>=64", "wheel"]
    build-backend = "setuptools.build_meta"
  2. Test the installation workflow:
    • Ensure editable installs (pip install -e .) work as expected.
    • Update documentation if necessary.
  3. Remove reliance on legacy setup.py workflows in the future.

References:

@mcyc mcyc added the enhancement New feature or request label Dec 16, 2024
@mcyc mcyc self-assigned this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant