A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-December/030855.html below:

[Python-Dev] Another approach for the import mechanism

[Python-Dev] Another approach for the import mechanism [Python-Dev] Another approach for the import mechanismSamuele Pedroni pedronis@bluewin.ch
Fri, 6 Dec 2002 00:31:45 +0100
>
> If I want to provide packaged RPMs for small systems, I'd like
> that *every* module/package which can be installed optionally, be
> packaged inside a compressed file. There are real usage for
> that right now.
>

Not that I exactly understand what you want, but it seems that some logic in
site.py, such that all *.zip found e.g. in site-archives (and similars)
(thought as equivalent and parallel to site-packages) are added to sys.path,
would solve your problem.

You either install a dir hiearchy somewhere or an archive there.

I insist that supporting compressing single modules seems YAGNI and requiring
too much complexity.

regards.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4