469,292 Members | 1,335 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,292 developers. It's quick & easy.

tidy project file organization (modules and tests)

What's the customary way to organize your project files --
particularly modules? Does the following look correct?

my_project/
main_script.py
doc/
[...]
whatever/
[...]
lib/
mymod1.py
mymod2.py
test/
test_mymod1.py
test_mymod2.py
some_pkg/
__init__.py
goodmod1.py
goodmod2.py
test/
test_goodmod1.py
test_goodmod2.py

That is, my project may contain some local project-specific modules
(mymod1, mymod2), but also some in a package that I reuse here and
there in other projects too (some_pkg.goodmod1, some_pkg.goodmod2).

What's the usual name and placement of the file that runs all the
tests?

Finally, if anyone could point me toward any exemplary modules in the
cheeshop that have a tidy project file layout, it would be most
helpful.

Thanks.
Nov 22 '07 #1
0 1041

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Jorgen Grahn | last post: by
26 posts views Thread by Tobias Wendorff | last post: by
1 post views Thread by Steven T. Hatton | last post: by
reply views Thread by BG Mahesh | last post: by
49 posts views Thread by Martin Unsal | last post: by
5 posts views Thread by ivarnelispam | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.