Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (34 sloc) 1.02 KB

Putting It All Together

Our whole package, for reference, looks like this:

funniest/
    funniest/
        __init__.py
        command_line.py
        tests/
            __init__.py
            test_joke.py
            test_command_line.py
    MANIFEST.in
    README.rst
    setup.py
    .gitignore

Here is the contents of each file:

funniest/__init__.py

.. literalinclude:: funniest/funniest/__init__.py

funniest/command_line.py

.. literalinclude:: funniest/funniest/command_line.py

funniest/tests/__init__.py

(empty)

funniest/tests/test_joke.py

.. literalinclude:: funniest/funniest/tests/test_joke.py

funniest/tests/test_command_line.py

.. literalinclude:: funniest/funniest/tests/test_command_line.py

MANIFEST.in

.. literalinclude:: funniest/MANIFEST.in

README.rst

.. literalinclude:: funniest/README.rst.example

setup.py

.. literalinclude:: funniest/setup.py

.gitignore

.. literalinclude:: funniest/.gitignore
You can’t perform that action at this time.