ionelmc / cookiecutter-pylibrary

Enhanced cookiecutter template for Python libraries.
BSD 2-Clause "Simplified" License
1.25k stars 207 forks source link

Use python -m for sphinx and pytest to enable tox --sitepackages. #172

Open dHannasch opened 5 years ago

dHannasch commented 5 years ago

Using python -m sphinx instead of sphinx-build allows us to use --sitepackages if we want. (tox --sitepackages is very useful if you just want to run some tests quickly without re-installing packages that you already have installed. See https://tox.readthedocs.io/en/latest/config.html#conf-sitepackages.)