pex-tool / pex

A tool for generating .pex (Python EXecutable) files, lock files and venvs.
https://docs.pex-tool.org/
Apache License 2.0
2.5k stars 257 forks source link

Trim embedded doc image assets. #2368

Closed jsirois closed 5 months ago

jsirois commented 5 months ago

Re-use the Pex icon png for the favicon and delete pex.ico. Browser support for png favicons is both wide and deep at this point and removing the ~46KB .ico file trims ~20KB from the binary distributions we release.

Also re-name pex-full assets to pex-logo to reflect their role and tidy up the SVG source, adding its license to the metadata. There is the SVG source and then the logo and icon derived from it. This should be a bit more clear now.

jsirois commented 5 months ago

The doc-site for this branch is deployed and viewable here: https://jsirois.github.io/pex/

jsirois commented 5 months ago

Is the logo an homage to egg files, .egg-info etc?

Yes, and an upside down egg looks like a P if you squint. Most directly though, eggs perhaps introduced the idea of a zipapp to the wider world with eggsecutables in 2006: https://github.com/pypa/setuptools/commit/ae347c1ed3e39fb2c00b8b9fc8aedcf507313c20 Documented today for posterity here: https://setuptools.pypa.io/en/latest/deprecated/functionalities.html