You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why hard-coding the versions? Can't we just specify the minimum version instead? Or just leave out the version number, letting it auto-update the dependencies?
The current directory structure of this project is:
Major issue: file pollution
When installing the package, this will happen:
Both the
genRSS.py
and theutil.py
will be installed at the root of the python modules. This means it is possible to importutil
from anywhere:You can also check this behavior by inspecting the contents of the wheel file available from PyPI:
That's not good.
Expected structure (AKA solution)
I expected this structure:
Which means we have to move some files around the repository:
src/genRSS.py
→src/genRSS/__main__.py
src/util.py
→src/genRSS/util.py
And also setup Entry Points inside
pyproject.toml
.See also:
Dependencies
We have this in
pyproject.toml
:Why hard-coding the versions? Can't we just specify the minimum version instead? Or just leave out the version number, letting it auto-update the dependencies?
Minor cleanup: setup.py
setup.py
is only needed for legacy build systems or legacy versions. It shouldn't be needed or used anymore. I suggest deleting it.The text was updated successfully, but these errors were encountered: