Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 777 Bytes

README_PYPI_DOCS.rst

File metadata and controls

41 lines (28 loc) · 777 Bytes

oTree Redwood Extension

http://otree-redwood.readthedocs.io/en/latest/

Pushing to PyPI

Increment version number in otree_redwood/__init__.py.

You need a ~/.pypirc like this:

[distutils]
index-servers =
  pypi

[pypi]
  username:yourusername
  password:yourpassword
> python setup.py sdist
> twine upload dist/*

Building the Docs

// From docs/
// Build API docs, autodetected from docstrings.
// Ignore setup.py because it will try to call os.exit.
> sphinx-apidoc -f -e --ext-autodoc -o source/ ../ ../setup.py
// Build the docs, check for warnings.
> make html
// Run server for live editing.
> sphinx-autobuild . _build/html