b08f224d38
This makes the module work with Python 3 and adds a tox target to perform python 3.5 tests.
21 lines
344 B
Makefile
21 lines
344 B
Makefile
#!/usr/bin/make
|
|
PYTHON := /usr/bin/env python
|
|
|
|
clean:
|
|
@rm -rf .testrepository .unit-state.db .tox .eggs charm.openstack.egg-info
|
|
@find . -iname '*.pyc' -delete
|
|
@find . -iname '__pycache__' -delete
|
|
|
|
lint:
|
|
@tox -e pep8
|
|
|
|
test:
|
|
@echo Starting unit tests...
|
|
@tox -e py27,py34,py35
|
|
|
|
publish:
|
|
python setup.py publish
|
|
|
|
tag:
|
|
python setup.py tag
|