revert to python
python should be pointed to python3 in my os if I want/need to use it.
This commit is contained in:
parent
402c319275
commit
a1b72d5643
1 changed files with 6 additions and 6 deletions
12
Makefile
12
Makefile
|
|
@ -1,7 +1,7 @@
|
|||
all: clean install
|
||||
|
||||
install:
|
||||
python3 setup.py install
|
||||
python setup.py install
|
||||
|
||||
clean:
|
||||
rm -rf build
|
||||
|
|
@ -14,21 +14,21 @@ clean:
|
|||
find . -name "*__pycache__" -type d -prune -exec rm -rf {} \;
|
||||
|
||||
publish: clean
|
||||
python3 setup.py register
|
||||
python3 setup.py sdist upload
|
||||
python setup.py register
|
||||
python setup.py sdist upload
|
||||
|
||||
check: test flake8
|
||||
|
||||
|
||||
|
||||
test:
|
||||
python3 test_scour.py
|
||||
python test_scour.py
|
||||
|
||||
test_version:
|
||||
PYTHONPATH=. python3 -m scour.scour --version
|
||||
PYTHONPATH=. python -m scour.scour --version
|
||||
|
||||
test_help:
|
||||
PYTHONPATH=. python3 -m scour.scour --help
|
||||
PYTHONPATH=. python -m scour.scour --help
|
||||
|
||||
flake8:
|
||||
flake8 --max-line-length=119
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue