[Distutils] [Python-Dev] PEP 376 - from PyPM's point of view

Terry Reedy tjreedy at udel.edu
Wed Jul 15 19:43:19 CEST 2009


Paul Moore wrote:


> - how do I import version 0.7.1 of package foo, rather than 0.7.2?

Augment import to recognize versioned names?

import foo_0_7_1

> - how do I use foo 0.8 at my interactive prompt, and import bar 0.2
> which relies on foo 0.7.1?

bar does import foo_0_7_2

> - what happens if I import foo 2.0 (which requires baz 0.1) and bar
> 1.5 (which requires baz 0.2)?

one import baz_0_1 and the other baz_0_2

Terry Jan Reedy



More information about the Distutils-SIG mailing list