git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
268b541
)
Clean by Remove /usr/share/unfold/ each time you run python setup.py install
author
Loic Baron
<loic.baron@lip6.fr>
Wed, 26 Feb 2014 10:14:08 +0000
(11:14 +0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Wed, 26 Feb 2014 10:14:08 +0000
(11:14 +0100)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index
f3531de
..
d27df2b
100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-6,6
+6,7
@@
# INRIA (c) 2013
import os.path
# INRIA (c) 2013
import os.path
+import shutil
from glob import glob
from distutils.core import setup
from glob import glob
from distutils.core import setup
@@
-13,6
+14,9
@@
from distutils.core import setup
packages= [ os.path.dirname(init) for init in (glob("*/__init__.py")+glob("*/*/__init__.py")) ]
print packages
packages= [ os.path.dirname(init) for init in (glob("*/__init__.py")+glob("*/*/__init__.py")) ]
print packages
+# Avoid troubles : clean /usr/share/unfold/
+shutil.rmtree('/usr/share/unfold/')
+
setup(packages = packages,
# xxx somehow this does not seem to show up in debian packaging
scripts = [ 'apache/unfold-init-ssl.sh' ],
setup(packages = packages,
# xxx somehow this does not seem to show up in debian packaging
scripts = [ 'apache/unfold-init-ssl.sh' ],