Project organisation

Diez B. Roggisch deets at nospam.web.de
Wed Jul 19 10:15:21 EDT 2006


 
> You could introduce version numbers to your module hierarchy...
> 
> --\globals\v1-0\util.py
>           \v1-1\util.py
>           \v2-0\utill.py
> 
> ...then in your code do something like...
> 
> from globals.v1-0 import util
> 
> ...which would allow some sharing without needing to retest.

Or you use setuptools to create a utils-egg, that can easily be versioned
and you can require a dependend package to require a certain version.

Diez



More information about the Python-list mailing list