-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile
69 lines (52 loc) · 1.12 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
all:
make clean
make compile
everything:
make clean
make compile
make test
make testpublish
make uninstall
make install
make install
compile:
python setup.py build
python setup.py sdist bdist_wheel
clean:
python setup.py clean
rm -rf dist build */*.egg-info *.egg-info
test:
tox
endtoendtest:
GOTOPATH=/tmp/.goto ./test_end_to_end.sh
testpublish:
make clean
make compile
make test
make _testpublish
_testpublish:
twine upload --repository testpypi dist/*
publish:
make clean
make compile
make test
twine upload dist/*
install:
pip install -e .
testinstall:
# Not all dependencies are available in testpypi, adding pypi
# see: https://packaging.python.org/guides/using-testpypi/
pip install --no-cache-dir --upgrade --force-reinstall \
--index-url https://test.pypi.org/simple/ magicgoto \
--extra-index-url https://pypi.org/simple/
uninstall:
pip uninstall magicgoto
circleci:
# Testing circleci tests locally using cli:
# https://circleci.com/docs/2.0/local-cli/
circleci config validate
circleci local execute
installpyenv:
brew install pyenv
pyenv install 3.7.2
pyenvinstall 3.6.8