472,145 Members | 1,591 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

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 1090

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.