I've trying to get my pet Python project into a releasable state and I'm stumped when it comes to packaging it.
Mark Pilgrim recommend this directory structure in Dive Into Python
httplib2/
|
+--README.txt
|
+--setup.py
|
+--httplib2/
|
+--__init__.py
|
+--iri2uri.py
What I can't figure out is, if I have a runner script ie an executable command line program, say foo and the name of my project is foo, what should I name the internal package directory?
To give a concrete example, if I have
README.md
LICENSE
somefile1.py
somefile2.py
foo
What is that best way to package this?
For instance
+--README.md
|
+--LICENSE
|
+--foo
|
+--foo/
|
+--somefile1.py
|
+--somefile2.py
Doesn't work because of the duplicate name.