Create a pyproject.toml for modern Python packaging:
- Define project metadata, dependencies, and build backend (setuptools preferred)
- Move all relevant setup from requirements.txt/setup.py into pyproject.toml where appropriate
Steps:
- Add/complete
pyproject.toml with metadata, dependencies and build info.
- Adjust project layout for PEP 517/518 compliance (src/ layout already in use)
- Update CI/test config (pytest) to use pyproject.toml
- Prepare for PyPI (check README, classifiers, relevant fields)
- Test build and install with
pip install . and pip install -e .
- Register and publish new version to PyPI following best practices (via a manual review requiring CI/CD pipeline action, following existing deployment standards such as VirusTotal scans)
After this, users should be able to install via pip (pip install cs-prof-analyzer) after release. Can keep requirements.txt as long as direct script-running from source is intended to be supported. Document all install methods in README (PyInstaller exe, source code script run, and pip).
Create a
pyproject.tomlfor modern Python packaging:Steps:
pyproject.tomlwith metadata, dependencies and build info.pip install .andpip install -e .After this, users should be able to install via pip (
pip install cs-prof-analyzer) after release. Can keep requirements.txt as long as direct script-running from source is intended to be supported. Document all install methods in README (PyInstaller exe, source code script run, and pip).