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
Transition to pip package with pyproject.toml #141
Conversation
…t. Fix incorrect mangum version
/describe |
/review |
PR Analysis
PR Feedback
How to use
|
The authors/maintainers should be filled in, we left it empty |
Changelog updates: 2023-07-27Changed
|
/describe |
Thank you for your contribution @patryk-kowalski-ds |
Transition to pip package with pyproject.toml
PR Type:
Refactoring
PR Description:
This PR transitions the project from using a requirements.txt file for dependency management to using a pyproject.toml file. This change allows for more robust package management and makes the project more compatible with modern Python packaging tools. The PR also updates the Dockerfiles to reflect this change.
PR Main Files Walkthrough:
-
setup.py
: Added a setup function for compatibility with legacy tools.-
Dockerfile.github_action
: Replaced the addition and installation of requirements.txt with pyproject.toml.-
docker/Dockerfile
: Similar changes as in Dockerfile.github_action.-
docker/Dockerfile.lambda
: Replaced the addition and installation of requirements.txt with pyproject.toml and updated the version of mangum.-
pyproject.toml
: Added a comprehensive project configuration including build system, project details, dependencies, and scripts.-
requirements.txt
: Removed all specific dependencies and replaced with a reference to the local directory.