Hello all,
Due to the size of my source, I want to split it up into multiple
files(basically one class in each file), but then I have difficulties with
the directory layout when the modules are installed with distutils.
This is my file layout:
in ./ I have a setup.py which has 'packages="foo"
read this thread, it should help you:
http://mail.python.org/pipermail/tutor/2005-January/035124.html
Peace
Bill Mill
bill.mill at gmail.com
On Tue, 25 Jan 2005 02:15:58 +, Frans Englich
<[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> Due to the size of my source, I want to split it up into
On Tuesday 25 January 2005 02:17, Bill Mill wrote:
> read this thread, it should help you:
>
> http://mail.python.org/pipermail/tutor/2005-January/035124.html
Thanks, it did. Not optimally, but in the way I suspected it would be solved.
In short, the solution, when translated to my case, is to in
Frans Englich wrote:
> in ./foo/ I have an __init__.py and a handful of files named
> ClassA.py, ClassB.py, ClassC.py and so forth.
>
> import foo.ClassA
>
> var = foo.ClassA.ClassA()
>
> while I want to do var = foo.ClassA()
>
> In other words, the result I want can be achieved by putting all