You're reading an old version of this documentation. For up-to-date information, please have a look at v0.6.

Package directory structure

If you create a new package using pymetadata, an entire directory structure will be created that follows best practices of Python packages, results in deployable packages and has been successfully applied to a number of packages of the author.

As there are different ways of how to eventually structure your package directory, pymetacode is opinionated in this regard. The package structure resulting in pymetacode creating a new package (here named “mypackage”) is documented below:

mypackage/
├── bin
│   └── incrementVersion.sh
├── docs
│   ├── api
│      └── index.rst
│   ├── audience.rst
│   ├── changelog.rst
│   ├── conf.py
│   ├── developers.rst
│   ├── index.rst
│   ├── installing.rst
│   ├── make.bat
│   ├── Makefile
│   ├── people.rst
│   ├── roadmap.rst
│   ├── _templates
│      ├── page.html
│      └── versions.html
│   └── usecases.rst
├── mypackage
│   └── __init__.py
├── tests
│   └── __init__.py
├── .gitignore
├── LICENSE
├── .package_config.yaml
├── README.rst
├── setup.py
└── VERSION