0001-misc-change-module-name-and-installation-directory-1.patch
MANIFEST.in | ||
---|---|---|
7 | 7 |
include po/*.pot |
8 | 8 |
recursive-include apache-errors/ *.html |
9 | 9 |
recursive-include data/themes/ *.css *.png *.jpeg '*.jpg *.xml *.html *.js *.ezt *.gif *.otf |
10 |
recursive-include extra/ *.py
|
|
10 |
recursive-include auquotidien/ *.py
|
|
11 | 11 |
recursive-include static/ *.png *.jpeg '*.jpg *.js *.gif |
12 | 12 |
recursive-include texts/ *.html |
13 | 13 |
recursive-include theme/ *.css *.png *.jpeg '*.jpg *.xml *.html *.js *.ezt *.gif |
debian/rules | ||
---|---|---|
31 | 31 |
dh_installdirs |
32 | 32 | |
33 | 33 |
$(PYTHON) setup.py install --prefix=$(DESTDIR)/usr --no-compile |
34 |
for i in $(CURDIR)/debian/wcs-au-quotidien/usr/lib/python2.*; do \ |
|
35 |
mv $$i/site-packages/extra \ |
|
36 |
$$i/site-packages/extra-wcs-au-quotidien; done |
|
37 | 34 |
cd po && make install prefix=$(CURDIR)/debian/wcs-au-quotidien/ |
38 | 35 |
install -d -m 755 $(DESTDIR)/var/lib/wcs-au-quotidien $(DESTDIR)/etc/wcs |
39 | 36 |
install -m 644 wcs-au-quotidien.cfg-sample $(DESTDIR)/etc/wcs/wcs-au-quotidien.cfg |
debian/wcs-au-quotidien.init | ||
---|---|---|
19 | 19 |
SCRIPTNAME=/etc/init.d/$NAME |
20 | 20 |
PYTHON_VERSION=`/usr/bin/env python -c \ |
21 | 21 |
"import sys; print '%d.%d' % (sys.version_info[0], sys.version_info[1])"` |
22 |
OPTIONS="--extra /usr/lib/pymodules/python$PYTHON_VERSION/extra-wcs-au-quotidien/"
|
|
22 |
OPTIONS="--extra /usr/lib/pymodules/python$PYTHON_VERSION/auquotidien/"
|
|
23 | 23 |
WCS_USER=wcs-au-quotidien |
24 | 24 |
WCS_GROUP=wcs-au-quotidien |
25 | 25 |
CONFIG_FILE=/etc/wcs/wcs-au-quotidien.cfg |
po/Makefile | ||
---|---|---|
1 | 1 |
POFILES=$(wildcard *.po) |
2 | 2 |
MOFILES=$(POFILES:.po=.mo) |
3 |
PYFILES=$(shell find ../extra/ ../extra-authentic/ -name '*.py' -or -name '*.ptl')
|
|
3 |
PYFILES=$(shell find ../auquotidien/ ../auquotidien-authentic/ -name '*.py' -or -name '*.ptl')
|
|
4 | 4 | |
5 | 5 |
all: $(MOFILES) |
6 | 6 |
setup.py | ||
---|---|---|
55 | 55 |
version = get_version(), |
56 | 56 |
maintainer = 'Frederic Peters', |
57 | 57 |
maintainer_email = 'fpeters@entrouvert.com', |
58 |
package_dir = { 'extra': 'extra' },
|
|
59 |
packages = ['extra', 'extra.modules', 'extra.modules.pyatom'],
|
|
58 |
package_dir = {'auquotidien': 'auquotidien'},
|
|
59 |
packages = ['auquotidien', 'auquotidien.modules', 'auquotidien.modules.pyatom'],
|
|
60 | 60 |
cmdclass = {'build_py': qx_build_py, |
61 | 61 |
'sdist': eo_sdist}, |
62 | 62 |
data_files = data_tree('share/wcs/texts', 'texts') +\ |
tests/utilities.py | ||
---|---|---|
20 | 20 |
publisher.WcsPublisher.DATA_DIR = os.path.abspath( |
21 | 21 |
os.path.join(os.path.dirname(wcs.__file__), '..', 'data')) |
22 | 22 |
config.add_section('extra') |
23 |
config.set('extra', 'auquotidien', os.path.join(os.path.dirname(__file__), '..', 'extra'))
|
|
23 |
config.set('extra', 'auquotidien', os.path.join(os.path.dirname(__file__), '..', 'auquotidien'))
|
|
24 | 24 |
publisher.WcsPublisher.configure(config) |
25 | 25 |
pub = publisher.WcsPublisher.create_publisher() |
26 | 26 |
# allow saving the user |
27 |
- |