ManderaGeneral / generalpackager

Tools to interface GitHub, PyPI, NPM and local modules / repos. Used for generating files to keep projects dry and synced. Tailored for ManderaGeneral for now.
https://pypi.org/project/generalpackager/
Apache License 2.0
0 stars 0 forks source link

Generate pyproject.toml #78

Open Mandera opened 1 year ago

Mandera commented 1 year ago

https://github.com/ManderaGeneral/generalimport/issues/18#issuecomment-1508502467

Maybe leave setup.py with a shim? https://stackoverflow.com/questions/62983756/what-is-pyproject-toml-file-for

Mandera commented 1 year ago

Maybe I could deprecate metadata.json and only use this?

Mandera commented 7 months ago

Had issues with pip install -e. Found here that you can do pip install -e . --config-settings editable_mode=compat. That works but writes a warning

DEPRECATION: Config settings are ignored for project file:///C:/Code/Repo/generallibrary. pip 23.3 will enforce this behaviour change. A possible replacement is to use --use-pep517 or add a pyproject.toml file to the project.