This project has been modernized to use pyproject.toml
as the primary configuration file, following PEP 517 and PEP 518 standards.
-
Updated
pyproject.toml
to include:- All project metadata
- Dependencies from requirements.txt
- Development dependencies from requirements-dev.txt
- Package build configuration
- Tool configurations from setup.cfg (pytest, flake8, etc.)
- Bumped version settings
-
Updated version in
src/planetarypy/__init__.py
to matchpyproject.toml
The following files are now redundant and can be safely removed:
setup.py
- All configuration now in pyproject.tomlsetup.cfg
- All tool configurations moved to pyproject.toml under appropriate [tool.*] sectionsrequirements.txt
- Dependencies now in pyproject.tomlrequirements-dev.txt
- Development dependencies now in pyproject.tomlrequirements_dev.txt
- Redundant with requirements-dev.txt
With this modernization, you can install the package using:
# For development installation with all dev dependencies
pip install -e ".[dev]"
# For regular installation
pip install .
- Consider using standardized tools for version management like
hatch
instead ofbumpversion
- Update documentation to reflect the new project structure
- Update CI/CD pipelines to use the new configuration