From: Don Taylor <nospamformeSVP@gmail.com> - 2007-02-16 16:35:14
I don't see how to create a package hierarchy like this:
(from Learning Python, p. 272)
All I can persuade Pydev to do is to create
I can only create a flat package hierarchy like this:
I can create the deep package structure by hand using new Folder (not
new Source Folder) and new Module for the __init__.py file and it does
seem to work OK.
When creating packages maybe Pydev should allow me to select a package
directory folder instead of just the src folder.
On 2/16/07, Don Taylor <nospamformeSVP@...> wrote:
> I don't see how to create a package hierarchy like this:
> (from Learning Python, p. 272)
You can do it by creating a new package with the text 'dir0.dir1.dir2' -- it
will create the whole structure at once and will put all the needed
__init__.py files in place -- and if you have a selected package it will
offer it as a part of the string. e.g.: if you select 'dir0.dir1', that's
what will appear initially in the new package wizard.