We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__file__ is an optional attribute of packages. c.f. indygreg/PyOxidizer#69 for why and alternatives.
__file__
spdx/config.py:_base_dir = os.path.dirname(__file__)
The text was updated successfully, but these errors were encountered:
The link to the promised solution results in a 404, do you have a different one? https://pyoxidizer.readthedocs.io/en/latest/packaging_pitfalls.html#reliance-on-file
Sorry, something went wrong.
Seems to be now at https://pyoxidizer.readthedocs.io/en/stable/oxidized_importer_behavior_and_compliance.html?highlight=__file__#file-and-cached-module-attributes
Use import.resources instead of __file__
84dce36
Potentially fix spdx#257 and allow zip-safe = true in pyproject.toml Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Successfully merging a pull request may close this issue.
__file__
is an optional attribute of packages. c.f. indygreg/PyOxidizer#69 for why and alternatives.The text was updated successfully, but these errors were encountered: