Luc Stepniewski wrote:
> Usually, to create a new project, I use the following syntax to create a 
> project:
> 
> paster create --template=basic_package myproject
> 
> Now, I need to create several different modules that are all "attached" to 
> one 
> module name. I mean, that they are all children of another same module.
> myproject.mymodule1
> myproject.mymodule2
> etc.
> 
> How do I create a skeleton for each project using paster? Trying with "paster 
> create myproject.mymodule1" doesn't create the myproject directory, paster 
> thinks "myproject.mymodule1" is the module name.

Right now there's not really a good way to do namespace packages, though 
there really needs to be.  You can do it like this, though:

paster create --template=mytemplate myproject base_module=mymodule

Then with the files:

   +package+/+base_module+1.py
   +package+/+base_module+2.py

Does this help?

-- 
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org

_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to