A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pyOpenSci/python-package-guide below:

pyOpenSci/python-package-guide: Python packaging made simple. Recommendations & guidance curated by the pyOpenSci community

pyOpenSci Python Packaging Guide and Tutorials

pyOpenSci is devoted to building diverse, supportive community around the Python open source tools that drive open science. We do this through:

pyOpenSci is an independent organization, fiscally sponsored by Community Initiatives.

This repository contains the source files for the pyOpenSci Python packaging guide.

Build the guidebook locally

Our guidebook is built with Sphinx which is a documentation tool and uses the pydata-sphinx-theme.

The easiest way to build our documentation is to use the nox automation tool, a tool for quickly building environments and running commands within them.

Using nox ensures that your environment has all the dependencies needed to build the documentation.

To build, follow these steps:

  1. Install nox

    $ python -m pip install nox
  2. Build the documentation:

This should create a local environment in a .nox folder, build the documentation (as specified in the noxfile.py configuration), and the output will be in _build/html.

To build live documentation that updates when you update local files, run the following command:

When building for release, the docs are built multiple times for each translation, but translations are only included in the production version of the guide after some completion threshold.

The sphinx build environment is controlled by an environment variable SPHINX_ENV

Most of the time you should not need to set SPHINX_ENV, as it is forced by the primary nox sessions intended to be used for release or development:

SPHINX_ENV=development

SPHINX_ENV=production

Contributing to this guide

We welcome and issues and pull requests to improve the content of this guide. If you'd like to see an improvement, please open an issue.

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4