37 python setup.py -q install --no-compile --prefix=debian/tmp/usr |
37 python setup.py -q install --no-compile --prefix=debian/tmp/usr |
38 |
38 |
39 # Put all the python library and data in cubicweb-common |
39 # Put all the python library and data in cubicweb-common |
40 # and scripts in cubicweb-server |
40 # and scripts in cubicweb-server |
41 dh_install -vi |
41 dh_install -vi |
42 #dh_lintian XXX not before debhelper 7 |
42 # cwctl in the cubicweb-ctl package |
|
43 rm -f debian/cubicweb-common/usr/share/pyshared/cubicweb/cwctl.py |
|
44 # hercule in the cubicweb-client package |
|
45 rm -f debian/cubicweb-common/usr/share/pyshared/cubicweb/hercule.py |
|
46 |
43 |
47 |
44 # Remove unittests directory (should be available in cubicweb-dev only) |
48 # Remove unittests directory (should be available in cubicweb-dev only) |
45 rm -rf debian/cubicweb-server/usr/lib/${PY_VERSION}/site-packages/cubicweb/server/test |
49 rm -rf debian/cubicweb-server/usr/lib/${PY_VERSION}/site-packages/cubicweb/server/test |
46 rm -rf debian/cubicweb-server/usr/lib/${PY_VERSION}/site-packages/cubicweb/sobjects/test |
50 rm -rf debian/cubicweb-server/usr/lib/${PY_VERSION}/site-packages/cubicweb/sobjects/test |
47 rm -rf debian/cubicweb-web/usr/lib/${PY_VERSION}/site-packages/cubicweb/web/test |
51 rm -rf debian/cubicweb-web/usr/lib/${PY_VERSION}/site-packages/cubicweb/web/test |
|
52 rm -rf debian/cubicweb-twisted/usr/lib/${PY_VERSION}/site-packages/cubicweb/etwist/test |
|
53 rm -rf debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/ext/test |
48 rm -rf debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/common/test |
54 rm -rf debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/common/test |
|
55 rm -rf debian/cubicweb-common/usr/lib/${PY_VERSION}/site-packages/cubicweb/entities/test |
49 |
56 |
50 # cubes directory must be managed as a valid python module |
57 # cubes directory must be managed as a valid python module |
51 touch debian/cubicweb-common/usr/share/cubicweb/cubes/__init__.py |
58 touch debian/cubicweb-common/usr/share/cubicweb/cubes/__init__.py |
52 |
59 |
53 %: %.in |
60 %: %.in |