From 2ee9cc3a7deb026805a3a59289c2213e8078eff2 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 18 Jul 2017 00:44:30 +0200 Subject: [PATCH] setup.py: distribute insee files --- MANIFEST.in | 3 ++- setup.py | 8 +------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 451ac0201..c07a348a1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -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 diff --git a/setup.py b/setup.py index e386b80e1..e6eeb2871 100755 --- a/setup.py +++ b/setup.py @@ -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=[