multipackage.templates.pypi_package module

A best-practices template for distributing python packages on PyPI.

Summary

Classes:

PyPIPackageTemplate

Reference

class multipackage.templates.pypi_package.PyPIPackageTemplate[source]

Bases: multipackage.templates.repo_template.RepositoryTemplate

SHORT_NAME = 'pypi_package'
SHORT_DESCRIPTION = 'Builds, tests and releases PyPI packages from Travis-CI'
INFO_TEMPLATE = 'pypi_info_template.tpl'
DOCTOR_TEMPLATE = 'pypi_doctor_template.tpl'
install(repo)[source]

Install this template into a Repository.

Parameters:repo (Repository) – The repository that this template should add its subsystems to.
classmethod find_toplevel_packages(base_path, components, prefixes=None)[source]

Find all top level python packages in each component.

classmethod find_namespace_packages(packages)[source]

Find packages that are created by multiple components.