-
-
Notifications
You must be signed in to change notification settings - Fork 247
/
Makefile
35 lines (27 loc) · 849 Bytes
/
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
clean:
rm -f -r build/
rm -f -r dist/
rm -f -r *.egg-info
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
find . -name '__pycache__' -exec rm -rf {} +
publish: clean
python setup.py sdist bdist_wheel
python -m twine upload dist/*
testpublish: clean
python setup.py sdist bdist_wheel
python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*
linux: clean
python setup.py install
pyinstaller ./lsassy/console.py --onefile --clean -n lsassy_linux_amd64 --additional-hooks-dir=hooks
windows: clean
python setup.py install
pyinstaller ./lsassy/console.py --onefile --clean -n lsassy_windows_amd64 --additional-hooks-dir=hooks
rebuild: clean
python setup.py install
build: clean
python setup.py install
install: build
test:
python setup.py test