This PR introduces the following changes to the project:
Creation of pyproject.toml: Migrated the project configuration from setup.py to the modern pyproject.toml format, which is now the preferred way to define project metadata and dependencies.
Update to workflow.yml: Modified the GitHub Actions workflow to support the new pyproject.toml setup. This includes using python -m build for building the project instead of setup.py.
Removal of setup.py: The setup.py file has been removed in favor of pyproject.toml.
Details
1. Creating pyproject.toml:
The project configuration and dependencies have been defined in pyproject.toml, replacing setup.py.
Environment markers have been added to handle Python version-specific dependencies.
2. Updating workflow.yml:
The workflow has been updated to use the build module to handle builds (python -m build) with pyproject.toml.
This ensures that the publishing process works seamlessly with the modern packaging structure.
3. Removing setup.py:
The setup.py file is no longer necessary and has been removed as part of the migration to pyproject.toml.
Testing
The following steps were taken to ensure that the migration and changes to the workflow were successful:
The GitHub Actions workflow was updated to ensure the build and release process works as expected with pyproject.toml.
All dependencies and environment markers were carefully transferred from setup.py to pyproject.toml.
Impact
These changes improve the project by:
Aligning with the modern Python packaging standards.
Simplifying the build process with pyproject.toml.
Reducing reliance on legacy tools like setup.py.
Please review these changes, and let me know if any further adjustments are needed.
Summary
This PR introduces the following changes to the project:
Creation of
pyproject.toml
: Migrated the project configuration fromsetup.py
to the modernpyproject.toml
format, which is now the preferred way to define project metadata and dependencies.Update to
workflow.yml
: Modified the GitHub Actions workflow to support the newpyproject.toml
setup. This includes usingpython -m build
for building the project instead ofsetup.py
.Removal of
setup.py
: Thesetup.py
file has been removed in favor ofpyproject.toml
.Details
1. Creating
pyproject.toml
:pyproject.toml
, replacingsetup.py
.2. Updating
workflow.yml
:build
module to handle builds (python -m build
) withpyproject.toml
.3. Removing
setup.py
:setup.py
file is no longer necessary and has been removed as part of the migration topyproject.toml
.Testing
The following steps were taken to ensure that the migration and changes to the workflow were successful:
pyproject.toml
.setup.py
topyproject.toml
.Impact
These changes improve the project by:
pyproject.toml
.setup.py
.Please review these changes, and let me know if any further adjustments are needed.