|
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 rust_pypi_example 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 |
|
@@ -87,16 +88,14 @@ docs: venv ## generate Sphinx HTML documentation, including API docs
|
87 | 88 | servedocs: venv docs ## compile the docs watching for changes
|
88 | 89 | venv/bin/python -m watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
|
89 | 90 |
|
90 |
| -release: venv clean ## package and upload a release |
91 |
| - venv/bin/python setup.py sdist upload |
92 |
| - venv/bin/python setup.py bdist_wheel upload |
93 |
| - |
94 | 91 | dist: venv clean ## builds source and wheel package
|
95 | 92 | venv/bin/python setup.py sdist
|
| 93 | + venv/bin/python setup.py build_ext |
96 | 94 | venv/bin/python setup.py bdist_wheel
|
97 | 95 | ls -l dist
|
98 | 96 |
|
99 | 97 | install: venv clean ## install the package to the active Python's site-packages
|
| 98 | + venv/bin/python setup.py build_ext |
100 | 99 | venv/bin/python setup.py install
|
101 | 100 |
|
102 | 101 |
|
|
0 commit comments