pyprojsetup package

Submodules

pyprojsetup.__main__ module

Main module of pyprojsetup. Provides command-line entry point and main logic.

pyprojsetup.__main__.chmod_plus_x(uri)[source]
pyprojsetup.__main__.copy(src, dst_dir, dst, fmt=[])[source]

Copy files from data/ to the project and insert project-specific data.

pyprojsetup.__main__.git_init(root, project_name, short_description, gh_token, git_repo_creation_url, gh_pages_dir, author, author_email)[source]
pyprojsetup.__main__.main(args=None)[source]

CLI entry point

pyprojsetup.__main__.overwrite_sphinx_conf(confdir)[source]

Sphinx-quickstart does not take input for the Man page title, and instead assumes ‘<your project> Documentation’ To fix that, we have to rewrite the file. Also, set the default html theme to sphinx_rtd_theme. Also also, we have to tell sphinx autodoc where to find the project.

pyprojsetup.parsers module

Parse command-line arguments.

pyprojsetup.parsers.add_parser(subparsers)[source]
pyprojsetup.parsers.main()[source]

Module contents

Streamlined python project setup and build system.