Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Franck Pommereau
/
snakes
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Franck Pommereau
2015-01-12 09:49:13 +0100
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
5c9022ceb6148e935a6c853f414e33306405286c
5c9022ce
2 parents
6cac6bbb
99322719
merged new ABCD simulator
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
5 deletions
MANIFEST
Makefile
debian/DISTRIB
setup.py
MANIFEST
View file @
5c9022c
...
...
@@ -13,6 +13,7 @@
.hgignore
.hgtags
BUGS
MANIFEST
MANIFEST.in
Makefile
NEWS
...
...
@@ -97,3 +98,4 @@ snakes/utils/abcd/transform.py
snakes/utils/ctlstar/__init__.py
snakes/utils/ctlstar/build.py
utils/abcd-mode.el
utils/abcd-mode.elc
...
...
Makefile
View file @
5c9022c
...
...
@@ -9,10 +9,14 @@ all:
@
echo
" next-ppa increments debian/PPA"
@
echo
" lang build generated files in snakes/lang"
@
echo
" emacs compile Emacs files"
@
echo
" pip upload to PyPI"
committed
:
hg summary|grep -q
'^commit: (clean)$$'
pip
:
python setup.py sdist bdist_wheel upload
next-deb
:
echo
1 > debian/PPA
echo
$$
((
1+
$$
(
cat debian/VERSION
)))
> debian/VERSION
...
...
debian/DISTRIB
View file @
5c9022c
precise 12.04 LTS
saucy 13.10
...
...
setup.py
View file @
5c9022c
#!/usr/bin/env python
import
s
ys
,
o
s
import
s
ubproces
s
from
distutils.core
import
setup
def
doc_files
()
:
...
...
@@ -34,11 +34,13 @@ particular, plugins are provided to implement the operations
usually found in the PBC and M-nets family."""
if
__name__
==
"__main__"
:
print
(
"Compiling Emacs files..."
)
if
os
.
system
(
"emacs -batch -f batch-byte-compile utils/abcd-mode.el"
)
:
try
:
subprocess
.
check_output
([
"emacs"
,
"-batch"
,
"-f"
,
"batch-byte-compile"
,
"utils/abcd-mode.el"
],
stderr
=
subprocess
.
STDOUT
)
emacs
=
[(
"share/emacs/site-lisp"
,
[
"utils/abcd-mode.el"
,
"utils/abcd-mode.elc"
])]
e
lse
:
e
xcept
:
emacs
=
[(
"share/emacs/site-lisp"
,
[
"utils/abcd-mode.el"
])]
#
setup
(
name
=
"SNAKES"
,
...
...
Please
register
or
login
to post a comment