Skip to content

Instantly share code, notes, and snippets.

View sixpearls's full-sized avatar

Ben Margolis sixpearls

View GitHub Profile
@sixpearls
sixpearls / README.rst
Last active September 17, 2017 14:12
Correct links in DRY ReST documentation on Github, PyPi, and with Sphinx

To write a dry overview with a link to another page in the documentation, use a substitution that replaces your text with a normal hyperlink that points to the correct page of the latest documentation on readthedocs, or wherever you host it.

@sixpearls
sixpearls / from_project_dir
Last active June 27, 2017 19:57
Windows virtualenv with system site packages installation needs help
python -m venv .venv --system-site-packages
.venv\Scripts\activate.bat
.venv\Scripts\python -m pip install -r requirements.txt --src=..