...

/

Directory Structure

Directory Structure

We'll cover the following...

To start packaging your Python software, you need to get your files and directories in order. The httplib2 directory looks like this:

Press + to interact
httplib2/ ①
|
+--README.txt ②
|
+--setup.py ③
|
+--httplib2/ ④
|
+--__init__.py
|
+--iri2uri.py

① Make a root directory to hold everything. Give it the same name as your Python module.

② To accomodate Windows users, your “read me” file should include a .txt extension, and it should use Windows-style carriage returns. Just because you use a fancy text editor that runs from the ...