cli icon indicating copy to clipboard operation
cli copied to clipboard

Replaces use of __file__

Open Ben-Mack opened this issue 2 years ago • 0 comments

The __file__ attribute is not guaranteed to exist, and causes problems for a number of packaging solutions. Please see https://github.com/indygreg/PyOxidizer/issues/69

The guide recommend using importlib.resources: https://pyoxidizer.readthedocs.io/en/latest/oxidized_importer_resource_files.html#porting-code-to-modern-resources-apis

Ben-Mack avatar Feb 09 '23 16:02 Ben-Mack