-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
51 lines (30 loc) · 1.56 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
.PHONY: install develop parser test build dist upload windist winupload livinglogic
install:
python$(PYVERSION) setup.py install
develop:
python$(PYVERSION) setup.py develop
parser:
java org.antlr.Tool src/ll/UL4.g
python -c 'import sys; d = open("src/ll/UL4Lexer.py", "r").read(); d=d.replace(chr(117)+chr(34), chr(34)); open("src/ll/UL4Lexer.py", "w").write(d)'
test: install
python$(PYVERSION) -mpytest
build:
rm -rf dist/*
python$(PYVERSION) setup.py sdist --formats=gztar bdist_wheel
dist: build
LL_URL_SSH_PYTHON=python3.2 python$(PYVERSION) -mll.scripts.ucp -vyes -ulivpython -glivpython dist/*.tar.gz dist/*.whl ssh://[email protected]/~/public_downloads/xist/
upload: build
twine upload dist/*
livinglogic:
rm -rf dist/*
python$(PYVERSION) setup.py sdist --formats=bztar,gztar,zip
python$(PYVERSION) setup.py bdist_wheel
python$(PYVERSION) -mll.scripts.ucp -vyes dist/*.tar.gz dist/*.tar.bz2 dist/*.zip dist/*.whl ssh://[email protected]/~/documentroot/intranet.livinglogic.de/python-downloads/
windist:
python$(PYVERSION) setup.py bdist --formats=wininst
python -mll.scripts.ucp -vyes -cno -ulivpython -glivpython dist/*.exe ssh://[email protected]/~/public_downloads/xist/
winupload:
python$(PYVERSION) setup.py bdist --formats=wininst upload
winlivinglogic:
python$(PYVERSION) setup.py bdist --formats=wininst
python$(PYVERSION) -mll.scripts.ucp -vyes -cno -uintranet -gintranet dist/*.exe ssh://[email protected]/~/documentroot/intranet.livinglogic.de/python-downloads/