updates tests and makefile
parent
a7e6cb2bc8
commit
8728a5da58
19
Makefile
19
Makefile
|
@ -52,7 +52,6 @@ lint: ## check style with flake8
|
||||||
|
|
||||||
test: ## run tests quickly with the default Python
|
test: ## run tests quickly with the default Python
|
||||||
py.test
|
py.test
|
||||||
|
|
||||||
|
|
||||||
test-all: ## run tests on every Python version with tox
|
test-all: ## run tests on every Python version with tox
|
||||||
tox
|
tox
|
||||||
|
@ -74,23 +73,17 @@ docs: ## generate Sphinx HTML documentation, including API docs
|
||||||
servedocs: docs ## compile the docs watching for changes
|
servedocs: docs ## compile the docs watching for changes
|
||||||
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
|
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
|
||||||
|
|
||||||
lib: clean ## complile the c library
|
dist: clean ## builds source and wheel package
|
||||||
python setup.py build_lib
|
|
||||||
|
|
||||||
all: lib
|
|
||||||
python setup.py build
|
|
||||||
|
|
||||||
release: lib ## package and upload a release
|
|
||||||
python setup.py sdist upload
|
|
||||||
|
|
||||||
./build_mac_os_x_wheels.sh upload
|
|
||||||
|
|
||||||
dist: lib ## builds source and wheel package
|
|
||||||
python setup.py sdist
|
python setup.py sdist
|
||||||
|
|
||||||
./build_mac_os_x_wheels.sh
|
./build_mac_os_x_wheels.sh
|
||||||
|
|
||||||
|
./build_linux_wheels.sh
|
||||||
|
|
||||||
ls -l dist
|
ls -l dist
|
||||||
|
|
||||||
|
release: dist ## package and upload a release
|
||||||
|
twine upload dist/*
|
||||||
|
|
||||||
install: clean ## install the package to the active Python's site-packages
|
install: clean ## install the package to the active Python's site-packages
|
||||||
python setup.py install
|
python setup.py install
|
||||||
|
|
3
tox.ini
3
tox.ini
|
@ -3,5 +3,8 @@ envlist = py27, py34, py35, py36
|
||||||
skip_missing_interpreters = true
|
skip_missing_interpreters = true
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
|
setenv =
|
||||||
|
PYTHONPATH = {toxinidir}:{toxinidir}/wolfcrypt-py
|
||||||
|
|
||||||
deps = -rrequirements/test.txt
|
deps = -rrequirements/test.txt
|
||||||
commands = py.test tests/
|
commands = py.test tests/
|
||||||
|
|
Loading…
Reference in New Issue