imaginAIry/docs
Bryce 9b95e8b0b6 perf: improve cli startup time
- do not provide automatically imported api functions and objects in `imaginairy` root module
- horrible hack to overcome horrible design choices by easy_install/setuptools

The hack modifies the installed script to remove the __import__ pkg_resources line

If we don't do this then the scripts will be slow to start up because of
pkg_resources.require() which is called by setuptools to ensure the
"correct" version of the package is installed.

before modification example:
```
__requires__ = 'imaginAIry==14.0.0b5'
__import__('pkg_resources').require('imaginAIry==14.0.0b5')
__file__ = '/home/user/projects/imaginairy/imaginairy/bin/aimg'
with open(__file__) as f:
    exec(compile(f.read(), __file__, 'exec'))
```
2023-12-12 20:54:39 -08:00
..
examples perf: improve cli startup time 2023-12-12 20:54:39 -08:00
ecosystem-notes.md feature: add art-scene, desktop-background, interior-style, painting-style phraselists 2023-03-11 15:40:52 -08:00
emad-qa-2020-10-10-raw-transcript.txt docs: add interview 2022-10-12 10:36:48 -07:00
emad-qa-2020-10-10.md Update emad-qa-2020-10-10.md 2022-10-12 10:40:02 -07:00
media.md feature: sliced latent decoding 2023-02-12 01:41:57 -08:00
todo.md feature: large refactor 2023-12-12 20:54:39 -08:00