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 #193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

javiermas
Copy link

Summary

This PR modernizes the project's packaging and dependency management by:

  • Migrating from requirements.txt and setup.py to pyproject.toml.
  • Ensuring compliance with PEP 518 and PEP 621.
  • Simplifying the configuration and build process for developers and contributors.

Changes Made

  • Added a pyproject.toml file with:
    • Project metadata (name, version, description, authors, etc.).
    • Dependencies and optional dependencies.
    • Build-system requirements (setuptools or an alternative like poetry/flit).
  • Added a poetry.lock file with specific versions for dependencies and subdependencies.
  • Removed setup.py and requirements.txt.
  • Upgraded tensorflow from 2.5 to 2.18.
  • Set minimum python python version to 3.9

Why This Change?

  • Modernization: pyproject.toml is the Python community standard for packaging and is supported by most tools.
  • Consolidation: Combines metadata and dependencies in a single, easy-to-read file.
  • Flexibility: Enables usage of modern build systems without requiring legacy files.

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