Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
31d4ce1a
Commit
31d4ce1a
authored
Dec 13, 2014
by
Maxime Perrotin
Browse files
Move files in subdirectory for setup.py
parent
659f832d
Changes
23
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
31d4ce1a
...
...
@@ -26,29 +26,22 @@ coverage:
flake8
:
@
echo
Generating flake8_report file
@
flake8 opengeode.py Pr.py sdlSymbols.py genericSymbols.py ogParser.py
\
@
cd
opengeode
&&
flake8 opengeode.py Pr.py sdlSymbols.py genericSymbols.py ogParser.py
\
AdaGenerator.py Renderer.py Clipboard.py Lander.py ogAST.py
\
undoCommands.py Connectors.py Asn1scc.py Helper.py
\
Statechart.py TextInteraction.py
>
flake8_report
compile-all
:
@
pyside-rcc opengeode.qrc
-o
icons.py
@
pyside-rcc opengeode.qrc
-o
opengeode/
icons.py
@
if
[
!
-f
antlr-3.1.3.tar.bz2
]
;
\
then
wget http://download.tuxfamily.org/taste/misc/antlr-3.1.3.tar.bz2
;
\
tar
jxvf antlr-3.1.3.tar.bz2
;
\
fi
@
CLASSPATH
=
$$
PWD/antlr-3.1.3/lib/antlr-3.1.3.jar java org.antlr.Tool sdl92.g
@
mv
sdl92
*
.py opengeode
install
:
compile-all
@
mkdir
-p
opengeode
@
for
f
in
AdaGenerator.py __init__.py Pr.py genericSymbols.py icons.py
\
ogAST.py ogParser.py opengeode.py Renderer.py samnmax.py
\
sdl92Lexer.py sdl92Parser.py sdlSymbols.py undoCommands.py
\
Clipboard.py Statechart.py LlvmGenerator.py Lander.py Helper.py
\
Connectors.py Asn1scc.py TextInteraction.py
;
\
do
echo
Installing
$$
f
&&
cp
$$
f opengeode
;
\
done
@
python setup.py
install
@
python setup.py
install
--record
install.record
publish
:
install
@
python setup.py sdist upload
...
...
@@ -56,7 +49,7 @@ publish: install
freeze-linux
:
@
bash
-c
"test -f pyinstaller-opengeode.tar.gz || wget http://download.tuxfamily.org/taste/misc/pyinstaller-opengeode.tar.gz"
@
tar
zxvf pyinstaller-opengeode.tar.gz
@
cd
pyinstaller-pyinstaller-953f6e3
&&
python pyinstaller.py ../opengeode.py
--onefile
&&
mkdir
-p
../dist-linux
&&
mv
opengeode/dist/opengeode ../dist-linux
&&
cd
..
@
cd
pyinstaller-pyinstaller-953f6e3
&&
python pyinstaller.py ../opengeode
/opengeode
.py
--onefile
&&
mkdir
-p
../dist-linux
&&
mv
opengeode/dist/opengeode ../dist-linux
&&
cd
..
@
echo
binary installed
in
./dist-linux/
clean
:
...
...
@@ -66,6 +59,7 @@ clean:
@
rm
-f
pyinstaller-opengeode.tar.gz
@
rm
-rf
dist-linux
@
rm
-rf
pyinstaller-pyinstaller-953f6e3
@
rm
-rf
opengode/
*
.pyc dist build
*
.egg-info
.PHONY
:
all test-parse test-ada test-llvm benchmark benchmark-O1 benchmark-O2
\
benchmark-O3 flake8 coverage compile-all install publish clean freeze-linux
AdaGenerator.py
→
opengeode/
AdaGenerator.py
View file @
31d4ce1a
File moved
Asn1scc.py
→
opengeode/
Asn1scc.py
View file @
31d4ce1a
File moved
Clipboard.py
→
opengeode/
Clipboard.py
View file @
31d4ce1a
File moved
Connectors.py
→
opengeode/
Connectors.py
View file @
31d4ce1a
File moved
Helper.py
→
opengeode/
Helper.py
View file @
31d4ce1a
File moved
Lander.py
→
opengeode/
Lander.py
View file @
31d4ce1a
File moved
LlvmGenerator.py
→
opengeode/
LlvmGenerator.py
View file @
31d4ce1a
File moved
Pr.py
→
opengeode/
Pr.py
View file @
31d4ce1a
File moved
Renderer.py
→
opengeode/
Renderer.py
View file @
31d4ce1a
File moved
Statechart.py
→
opengeode/
Statechart.py
View file @
31d4ce1a
File moved
TextInteraction.py
→
opengeode/
TextInteraction.py
View file @
31d4ce1a
File moved
__init__.py
→
opengeode/
__init__.py
View file @
31d4ce1a
File moved
genericSymbols.py
→
opengeode/
genericSymbols.py
View file @
31d4ce1a
File moved
icons.py
→
opengeode/
icons.py
View file @
31d4ce1a
File moved
ogAST.py
→
opengeode/
ogAST.py
View file @
31d4ce1a
File moved
ogParser.py
→
opengeode/
ogParser.py
View file @
31d4ce1a
File moved
opengeode.py
→
opengeode/
opengeode.py
View file @
31d4ce1a
File moved
samnmax.py
→
opengeode/
samnmax.py
View file @
31d4ce1a
File moved
sdl92Lexer.py
→
opengeode/
sdl92Lexer.py
View file @
31d4ce1a
File moved
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment