setup.py: distribute insee files

This commit is contained in:
Benjamin Dauvergne 2017-07-18 00:44:30 +02:00
parent e32a2acd58
commit 2ee9cc3a7d
2 changed files with 3 additions and 8 deletions

View File

@ -1,6 +1,7 @@
include COPYING
recursive-include src/authentic2_auth_fc/templates *.html
recursive-include src/authentic2_auth_fc/static *.js *.css *.png *.gif *.jpg *.svg
recursive-include src/authentic2_auth_fc/static *.css *.png *.svg
recursive-include src/authentic2_auth_fc/locale *.po *.mo
recursive-include src/authentic2_auth_fc *.json
include VERSION
include MANIFEST.in

View File

@ -103,18 +103,12 @@ setup(name='authentic2-auth-fc',
package_data={
'authentic2_auth_fc': [
'templates/authentic2_auth_fc/*.html',
'static/authentic2_auth_fc/js/*.js',
'static/authentic2_auth_fc/css/*.css',
'static/authentic2_auth_fc/img/*.png',
'static/authentic2_auth_fc/img/*.jpg',
'static/authentic2_auth_fc/img/*.gif',
'static/authentic2_auth_fc/img/*.svg',
'static/authentic2_auth_fc/img/bg/*.png',
'static/authentic2_auth_fc/img/bg/*.jpg',
'static/authentic2_auth_fc/img/bg/*.gif',
'static/authentic2_auth_fc/img/bg/*.svg',
'locale/fr/LC_MESSAGES/django.po',
'locale/fr/LC_MESSAGES/django.mo',
'*.json',
],
},
install_requires=[