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
2014-07-07 12:39:09 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a096e814281d218cfd23e322a8dd1977f8d4f1fd
a096e814
1 parent
d6843717
fixed emacs dependency in setup.py
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
Makefile
debian/DISTRIB
setup.py
Makefile
View file @
a096e81
...
...
@@ -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 upload
next-deb
:
echo
1 > debian/PPA
echo
$$
((
1+
$$
(
cat debian/VERSION
)))
> debian/VERSION
...
...
debian/DISTRIB
View file @
a096e81
precise 12.04 LTS
saucy 13.10
...
...
setup.py
View file @
a096e81
#!/usr/bin/env python
import
s
ys
,
o
s
import
s
ubproces
s
from
distutils.core
import
setup
def
doc_files
()
:
...
...
@@ -25,11 +25,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