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
briefcase extracted data from setup.py becase it used to be implemented as a setuptools command.
WENT CREATIVE:
Where in a standard wheel metadata could we store/keep pup-related packaging data.
Came up with something crazy, that seems to work, but that is horribly brittle.
pup will look into the standard wheel metadata for the project's dependencies.
For all those dependencies associated with the pup extra:
Assume the dependency name is a pup packaging paramenter (like --icon-path, for example).
Assume that the dependency version is specified as <operator> <value> and i) disregard the operator, while ii) taking the value as the parameter's value.
BENEFITS:
Should work with any tooling that produces standard wheel metadata.
TRADE-OFF:
If/when ever pip starts validating extra dependency version formats, this no longer works and pup fails!
NOTES:
briefcase
2.x -- used to package Mu up until today -- seems to grab packaging (meta) data fromsetup.py
.setup.py
in mu:pup
optionally grab its metadata from there? :-)The text was updated successfully, but these errors were encountered: