Search⌘ K
AI Features

Specifying Additional Files With A Manifest

Understand how to include non-Python files such as licenses and documentation in your Python library packages by creating a MANIFEST.in file. Learn commands to specify files and directories that Distutils does not include by default, maintaining project structure during packaging.

We'll cover the following...

By default, Distutils will include the following files in your release package:

  • README.txt
  • setup.py
  • The .py files needed by the multi-file modules listed in the packages parameter
  • The individual .py files listed in the py_modules parameter

That will cover all the files in the httplib2 project. But for the chardet project, we also want to include the COPYING.txt license file and ...