[Python-ideas] My objections to implicit package directories

anatoly techtonik techtonik at gmail.com
Thu Mar 22 06:51:26 CET 2012

On Wed, Mar 14, 2012 at 7:34 PM, Yuval Greenfield <ubershmekel at gmail.com> wrote:
> I've always had trouble understanding and explaining the complexities and
> intricacies of python packaging.


> Is there a most basic but comprehensive list of use cases? IIUC they are:
> * Eg Standard library - import from a list of paths to be searched.
> * Eg This project - import from a relative path based on this file's current
> directory (which python has an odd syntax for).
> * Eg Distributed packages and virtual-env - import from a relative path
> based on an anchor directory.

I am the big proponent of user story/use case first approach, but
somebody needs to show everyone how to do this properly. I've created
a draft at http://wiki.python.org/moin/CodeDiscoveryUseCases - feel
free to improve it.

> If we were to start completely from scratch would this problem be an easy
> one?

With a list of user stories - yes.
anatoly t.

More information about the Python-ideas mailing list