Add MANIFESST.IN and fix setup.py data_files

This commit is contained in:
Jérôme Schneider 2013-08-13 14:55:22 +02:00
parent de711849a0
commit 4f07c30d6a
2 changed files with 11 additions and 3 deletions

10
MANIFEST.in Normal file
View File

@ -0,0 +1,10 @@
include au-quotidien-wcs-settings.xml
include wcs-au-quotidien.cfg-sample
include po/Makefile
include po/*.po
include po/*.pot
recursive-include extra/ *.py
recursive-include data/themes/auquo2/ *.html *.css *.png *.gif *.jpg *.js *.ezt
recursive-include apache-errors/ *.html
recursive-include static/ *.css *.png *.gif *.jpg *.js
recursive-include texts/ *.html

View File

@ -41,7 +41,5 @@ distutils.core.setup(
data_tree('share/wcs/themes/', 'data/themes/') + \
data_tree('share/auquotidien/apache-errors', 'apache-errors') +\
data_tree('share/wcs/qommon/auquotidien', 'static/') +\
[('share/wcs/',
('au-quotidien-wcs-settings.xml', 'wcs-au-quotidien.cfg-sample'))
]
[('share/wcs/', ('au-quotidien-wcs-settings.xml',))]
)