Re: Project organisation

2006-07-19 Thread Simon Hibbs
If a particular project requires slightly different functionality from the classes in Utils.Py one way would be to import Utils.py and then either monkey-patch or subclass the classes you need to extend or modify for that project. That way you will have no effect whatever on the other projects. S

Re: Project organisation

2006-07-19 Thread Diez B. Roggisch
> 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.

Re: Project organisation

2006-07-19 Thread rony steelandt
Le Wed, 19 Jul 2006 14:31:06 +0100, Phil Thompson a écrit : > On Wednesday 19 July 2006 3:12 pm, rony steelandt wrote: >> Imagine I have x projects and they all use util.py >> >> What would be the best way to organise this >> >> 1. >> c --\project1\*.py >> >> |-\project2\*.py >> >> --\globals\

Re: Project organisation

2006-07-19 Thread Harry George
rony steelandt <[EMAIL PROTECTED]> writes: > Imagine I have x projects and they all use util.py > > What would be the best way to organise this > > 1. > c --\project1\*.py > | > |-\project2\*.py > | > --\globals\util.py > > This organisation has the problem that if I have to modify some

Re: Project organisation

2006-07-19 Thread Phil Thompson
On Wednesday 19 July 2006 3:12 pm, rony steelandt wrote: > Imagine I have x projects and they all use util.py > > What would be the best way to organise this > > 1. > c --\project1\*.py > > |-\project2\*.py > > --\globals\util.py > > This organisation has the problem that if I have to modify so

Re: Project organisation

2006-07-19 Thread Magnus Lycka
rony steelandt wrote: > Imagine I have x projects and they all use util.py > > What would be the best way to organise this > > 1. > c --\project1\*.py > | > |-\project2\*.py > | > --\globals\util.py > > This organisation has the problem that if I have to modify something to > util.py tha

Re: Project organisation

2006-07-19 Thread Steve Holden
rony steelandt wrote: > Imagine I have x projects and they all use util.py > > What would be the best way to organise this > > 1. > c --\project1\*.py > | > |-\project2\*.py > | > --\globals\util.py > > This organisation has the problem that if I have to modify something to > util.py tha

Project organisation

2006-07-19 Thread rony steelandt
Imagine I have x projects and they all use util.py What would be the best way to organise this 1. c --\project1\*.py | |-\project2\*.py | --\globals\util.py This organisation has the problem that if I have to modify something to util.py that I need in project2, I'll have to retest projec