|
1 | | -.PHONY: clean clean-test clean-pyc clean-build clean-venv docs help install dist release test test-all |
| 1 | +.PHONY: clean clean-test clean-pyc clean-build clean-venv docs help install dist test test-all |
2 | 2 | .DEFAULT_GOAL := help |
3 | 3 | define BROWSER_PYSCRIPT |
4 | 4 | import os, webbrowser, sys |
@@ -58,6 +58,7 @@ lint: venv ## check style with flake8 |
58 | 58 | venv/bin/python -m flake8 {{ cookiecutter.project_slug }} tests |
59 | 59 |
|
60 | 60 | test: venv ## This will use py.test because of pytest-runner |
| 61 | +venv/bin/python setup.py build_ext |
61 | 62 | venv/bin/python setup.py check |
62 | 63 | venv/bin/python setup.py test |
63 | 64 |
|
@@ -90,16 +91,14 @@ docs: venv ## generate Sphinx HTML documentation, including API docs |
90 | 91 | servedocs: venv docs ## compile the docs watching for changes |
91 | 92 | venv/bin/python -m watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D . |
92 | 93 |
|
93 | | -release: venv clean ## package and upload a release |
94 | | -venv/bin/python setup.py sdist upload |
95 | | -venv/bin/python setup.py bdist_wheel upload |
96 | | - |
97 | 94 | dist: venv clean ## builds source and wheel package |
98 | 95 | venv/bin/python setup.py sdist |
| 96 | +venv/bin/python setup.py build_ext |
99 | 97 | venv/bin/python setup.py bdist_wheel |
100 | 98 | ls -l dist |
101 | 99 |
|
102 | 100 | install: venv clean ## install the package to the active Python's site-packages |
| 101 | +venv/bin/python setup.py build_ext |
103 | 102 | venv/bin/python setup.py install |
104 | 103 |
|
105 | 104 |
|
|
0 commit comments