File layout in development stage

S

Steven Woody

Hi,

Adapted your kindly suggestions in a previous post, I now decide to
organize my source tree in a pattern like below:


prj:
src:
lib:
foomodule.py
barmodule.py
scripts:
prj_main.py
test:
footest.py
bartest.py
...


That is, I want to put the top-level scripts in prj/src/scripts and
share libraries in prj/src/lib. In the prj/test directory I want to
put my unit-tests using unittest module. My question is that when in
development stage there is no file is actually distributed, so how
should a python source in one directory refer to (import) another
module in another directory?

Thanks in advance.

-
narke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,299
Messages
2,571,546
Members
48,300
Latest member
Markwen49

Latest Threads

Top