From 058af0c133d98f597f82c34c1f50b7912a146702 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 6 Nov 2014 21:15:33 +0100 Subject: [PATCH] Refactorize application to make it an authentic2 plugin (1/2) --- COPYING | 2 + MANIFEST.in | 4 + README.txt => README | 0 setup.py | 70 ++++++++++++++++++ .../authentic2_auth_msp/__init__.py | 0 .../authentic2_auth_msp/app_settings.py | 0 .../authentic2_auth_msp/backends.py | 0 .../locale}/fr/LC_MESSAGES/django.po | 0 .../migrations}/0001_initial.py | 0 .../0002_auto__add_field_mspaccount_token.py | 0 .../0003_auto__chg_field_mspaccount_user.py | 0 .../migrations}/__init__.py | 0 .../authentic2_auth_msp/models.py | 0 .../css/Copie de screen.msp.css | 0 .../static/authentic2_auth_msp}/css/msp.css | 0 .../authentic2_auth_msp}/css/screen.msp.css | 0 .../img/Copie de illus_3.jpg | Bin .../img/Copie-de-ombre_content_h.png | Bin .../img/Logo_URSSAF_2012_RVB_EnSavoirPlus.png | Bin .../static/authentic2_auth_msp}/img/Thumbs.db | Bin .../authentic2_auth_msp}/img/__illus_1.jpg | Bin .../authentic2_auth_msp}/img/__illus_2.jpg | Bin .../authentic2_auth_msp}/img/__illus_4.jpg | Bin .../img/bandeau_non_federe.jpg | Bin .../authentic2_auth_msp}/img/bg/Thumbs.db | Bin .../authentic2_auth_msp}/img/bg/clip.png | Bin .../authentic2_auth_msp}/img/bg/coin.png | Bin .../authentic2_auth_msp}/img/bg/connect.png | Bin .../authentic2_auth_msp}/img/bg/degrade.jpg | Bin .../authentic2_auth_msp}/img/bg/fermer.png | Bin .../authentic2_auth_msp}/img/bg/fleche.png | Bin .../img/bg/fleche_blanche.png | Bin .../authentic2_auth_msp}/img/bg/note.png | Bin .../authentic2_auth_msp}/img/bg/note2.gif | Bin .../authentic2_auth_msp}/img/bg/note2.png | Bin .../authentic2_auth_msp}/img/bg/retour.png | Bin .../authentic2_auth_msp}/img/bg/user.png | Bin .../authentic2_auth_msp}/img/bg/user_2.png | Bin .../img/bg/utilisateur.png | Bin .../img/bg/utilisateur_blanc.png | Bin .../authentic2_auth_msp}/img/bk-input.gif | Bin .../img/bkg_creerVotreCompte.png | Bin .../img/bkg_puce_bonnes_raisons.gif | Bin .../img/btn_minscrire.png | Bin .../img/deg_content_b.png | Bin .../img/deg_content_h.png | Bin .../authentic2_auth_msp}/img/degrade.jpg | Bin .../authentic2_auth_msp}/img/fleche.png | Bin .../img/fond_content_m.png | Bin .../img/fond_ensavoirplus_b.jpg | Bin .../img/fond_ensavoirplus_h.jpg | Bin .../authentic2_auth_msp}/img/fond_titre_1.png | Bin .../authentic2_auth_msp}/img/fond_titre_2.png | Bin .../authentic2_auth_msp}/img/fond_titre_3.png | Bin .../authentic2_auth_msp}/img/fond_titre_4.png | Bin .../authentic2_auth_msp}/img/illus_1.jpg | Bin .../authentic2_auth_msp}/img/illus_2.jpg | Bin .../authentic2_auth_msp}/img/illus_3.jpg | Bin .../authentic2_auth_msp}/img/illus_4.jpg | Bin .../authentic2_auth_msp}/img/lie_avec_msp.jpg | Bin .../authentic2_auth_msp}/img/logo_1.jpg | Bin .../authentic2_auth_msp}/img/logo_10.png | Bin .../authentic2_auth_msp}/img/logo_11.jpg | Bin .../authentic2_auth_msp}/img/logo_2.jpg | Bin .../authentic2_auth_msp}/img/logo_3.jpg | Bin .../authentic2_auth_msp}/img/logo_5.jpg | Bin .../authentic2_auth_msp}/img/logo_6.jpg | Bin .../authentic2_auth_msp}/img/logo_6.png | Bin .../authentic2_auth_msp}/img/logo_7.png | Bin .../authentic2_auth_msp}/img/logo_8.jpg | Bin .../authentic2_auth_msp}/img/logo_9.png | Bin .../img/logo_visite_guidee.gif | Bin .../img/mon_service-public.fr.png | Bin .../img/mon_service-public.fr_petit.png | Bin .../authentic2_auth_msp}/img/old logo_3.jpg | Bin .../authentic2_auth_msp}/img/old logo_4.jpg | Bin .../img/old__visite_guidee.png | Bin .../img/ombre_content_b.png | Bin .../img/ombre_content_h.png | Bin .../img/ombre_content_h2.png | Bin .../img/ombre_content_m.png | Bin .../img/toutes_vos_demarches.png | Bin .../img/visite_guidee.png | Bin .../img/vous_etes_actuellement.png | Bin .../authentic2_auth_msp}/js/domready.js | 0 .../js/getElementsByClassName-1.0.1.js | 0 .../static/authentic2_auth_msp}/js/oauth.js | 0 .../close-popup-redirect.html | 0 .../authentic2_auth_msp}/confirm_unlink.html | 0 .../authentic2_auth_msp}/connecting.html | 0 .../authentic2_auth_msp}/documents.html | 0 .../authentic2_auth_msp}/link_management.html | 0 .../authentic2_auth_msp}/linking.html | 0 .../authentic2_auth_msp}/unlink_done.html | 0 urls.py => src/authentic2_auth_msp/urls.py | 0 views.py => src/authentic2_auth_msp/views.py | 0 96 files changed, 76 insertions(+) create mode 100644 COPYING create mode 100644 MANIFEST.in rename README.txt => README (100%) create mode 100755 setup.py rename __init__.py => src/authentic2_auth_msp/__init__.py (100%) rename app_settings.py => src/authentic2_auth_msp/app_settings.py (100%) rename backends.py => src/authentic2_auth_msp/backends.py (100%) rename {locale => src/authentic2_auth_msp/locale}/fr/LC_MESSAGES/django.po (100%) rename {migrations => src/authentic2_auth_msp/migrations}/0001_initial.py (100%) rename {migrations => src/authentic2_auth_msp/migrations}/0002_auto__add_field_mspaccount_token.py (100%) rename {migrations => src/authentic2_auth_msp/migrations}/0003_auto__chg_field_mspaccount_user.py (100%) rename {migrations => src/authentic2_auth_msp/migrations}/__init__.py (100%) rename models.py => src/authentic2_auth_msp/models.py (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/css/Copie de screen.msp.css (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/css/msp.css (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/css/screen.msp.css (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/Copie de illus_3.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/Copie-de-ombre_content_h.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/Logo_URSSAF_2012_RVB_EnSavoirPlus.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/Thumbs.db (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/__illus_1.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/__illus_2.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/__illus_4.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bandeau_non_federe.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/Thumbs.db (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/clip.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/coin.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/connect.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/degrade.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/fermer.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/fleche.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/fleche_blanche.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/note.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/note2.gif (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/note2.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/retour.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/user.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/user_2.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/utilisateur.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bg/utilisateur_blanc.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bk-input.gif (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bkg_creerVotreCompte.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/bkg_puce_bonnes_raisons.gif (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/btn_minscrire.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/deg_content_b.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/deg_content_h.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/degrade.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/fleche.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/fond_content_m.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/fond_ensavoirplus_b.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/fond_ensavoirplus_h.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/fond_titre_1.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/fond_titre_2.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/fond_titre_3.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/fond_titre_4.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/illus_1.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/illus_2.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/illus_3.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/illus_4.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/lie_avec_msp.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_1.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_10.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_11.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_2.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_3.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_5.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_6.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_6.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_7.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_8.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_9.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/logo_visite_guidee.gif (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/mon_service-public.fr.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/mon_service-public.fr_petit.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/old logo_3.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/old logo_4.jpg (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/old__visite_guidee.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/ombre_content_b.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/ombre_content_h.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/ombre_content_h2.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/ombre_content_m.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/toutes_vos_demarches.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/visite_guidee.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/img/vous_etes_actuellement.png (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/js/domready.js (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/js/getElementsByClassName-1.0.1.js (100%) rename {static/msp => src/authentic2_auth_msp/static/authentic2_auth_msp}/js/oauth.js (100%) rename {templates/msp => src/authentic2_auth_msp/templates/authentic2_auth_msp}/close-popup-redirect.html (100%) rename {templates/msp => src/authentic2_auth_msp/templates/authentic2_auth_msp}/confirm_unlink.html (100%) rename {templates/msp => src/authentic2_auth_msp/templates/authentic2_auth_msp}/connecting.html (100%) rename {templates/msp => src/authentic2_auth_msp/templates/authentic2_auth_msp}/documents.html (100%) rename {templates/msp => src/authentic2_auth_msp/templates/authentic2_auth_msp}/link_management.html (100%) rename {templates/msp => src/authentic2_auth_msp/templates/authentic2_auth_msp}/linking.html (100%) rename {templates/msp => src/authentic2_auth_msp/templates/authentic2_auth_msp}/unlink_done.html (100%) rename urls.py => src/authentic2_auth_msp/urls.py (100%) rename views.py => src/authentic2_auth_msp/views.py (100%) diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..9790db9 --- /dev/null +++ b/COPYING @@ -0,0 +1,2 @@ +authentic2-auth-msp is entirely under the copyright of Entr'ouvert and +distributed under the license AGPLv3 or later. diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..12a1bbb --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,4 @@ +include COPYING +recursive-include src/authentic2_auth_msp/templates *.html +recursive-include src/authentic2_auth_msp/static *.js *.css *.png +recursive-include src/authentic2_auth_msp/locale *.po *.mo diff --git a/README.txt b/README similarity index 100% rename from README.txt rename to README diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..d49e948 --- /dev/null +++ b/setup.py @@ -0,0 +1,70 @@ +#!/usr/bin/python +from setuptools import setup, find_packages +import os + +def get_version(): + import glob + import re + import os + + version = None + for d in glob.glob('src/*'): + if not os.path.isdir(d): + continue + module_file = os.path.join(d, '__init__.py') + if not os.path.exists(module_file): + continue + for v in re.findall("""__version__ *= *['"](.*)['"]""", + open(module_file).read()): + assert version is None + version = v + if version: + break + assert version is not None + if os.path.exists('.git'): + import subprocess + p = subprocess.Popen(['git','describe','--dirty','--match=v*'], + stdout=subprocess.PIPE) + result = p.communicate()[0] + assert p.returncode == 0, 'git returned non-zero' + new_version = result.split()[0][1:] + assert new_version.split('-')[0] == version, '__version__ must match the last git annotated tag' + version = new_version.replace('-', '.') + return version + +README = file(os.path.join( + os.path.dirname(__file__), + 'README')).read() + +setup(name='authentic2-auth-msp', + version=get_version(), + license='AGPLv3', + description='Authentic2 Auth Kerberos', + long_description=README, + author="Entr'ouvert", + author_email="info@entrouvert.com", + packages=find_packages('src'), + package_dir={ + '': 'src', + }, + package_data={ + 'authentic2_auth_msp': [ + 'templates/authentic2_auth_msp/*.html', + 'static/authentic2_auth_msp/js/*.js', + 'static/authentic2_auth_msp/css/*.css', + 'static/authentic2_auth_msp/img/*.png', + 'locale/fr/LC_MESSAGES/django.po', + 'locale/fr/LC_MESSAGES/django.moo', + ], + }, + install_requires=[ + 'authentic2', + 'requests', + 'requests-oauthlib', + ], + entry_points={ + 'authentic2.plugin': [ + 'authentic2-auth-msp = authentic2_auth_msp:Plugin', + ], + }, +) diff --git a/__init__.py b/src/authentic2_auth_msp/__init__.py similarity index 100% rename from __init__.py rename to src/authentic2_auth_msp/__init__.py diff --git a/app_settings.py b/src/authentic2_auth_msp/app_settings.py similarity index 100% rename from app_settings.py rename to src/authentic2_auth_msp/app_settings.py diff --git a/backends.py b/src/authentic2_auth_msp/backends.py similarity index 100% rename from backends.py rename to src/authentic2_auth_msp/backends.py diff --git a/locale/fr/LC_MESSAGES/django.po b/src/authentic2_auth_msp/locale/fr/LC_MESSAGES/django.po similarity index 100% rename from locale/fr/LC_MESSAGES/django.po rename to src/authentic2_auth_msp/locale/fr/LC_MESSAGES/django.po diff --git a/migrations/0001_initial.py b/src/authentic2_auth_msp/migrations/0001_initial.py similarity index 100% rename from migrations/0001_initial.py rename to src/authentic2_auth_msp/migrations/0001_initial.py diff --git a/migrations/0002_auto__add_field_mspaccount_token.py b/src/authentic2_auth_msp/migrations/0002_auto__add_field_mspaccount_token.py similarity index 100% rename from migrations/0002_auto__add_field_mspaccount_token.py rename to src/authentic2_auth_msp/migrations/0002_auto__add_field_mspaccount_token.py diff --git a/migrations/0003_auto__chg_field_mspaccount_user.py b/src/authentic2_auth_msp/migrations/0003_auto__chg_field_mspaccount_user.py similarity index 100% rename from migrations/0003_auto__chg_field_mspaccount_user.py rename to src/authentic2_auth_msp/migrations/0003_auto__chg_field_mspaccount_user.py diff --git a/migrations/__init__.py b/src/authentic2_auth_msp/migrations/__init__.py similarity index 100% rename from migrations/__init__.py rename to src/authentic2_auth_msp/migrations/__init__.py diff --git a/models.py b/src/authentic2_auth_msp/models.py similarity index 100% rename from models.py rename to src/authentic2_auth_msp/models.py diff --git a/static/msp/css/Copie de screen.msp.css b/src/authentic2_auth_msp/static/authentic2_auth_msp/css/Copie de screen.msp.css similarity index 100% rename from static/msp/css/Copie de screen.msp.css rename to src/authentic2_auth_msp/static/authentic2_auth_msp/css/Copie de screen.msp.css diff --git a/static/msp/css/msp.css b/src/authentic2_auth_msp/static/authentic2_auth_msp/css/msp.css similarity index 100% rename from static/msp/css/msp.css rename to src/authentic2_auth_msp/static/authentic2_auth_msp/css/msp.css diff --git a/static/msp/css/screen.msp.css b/src/authentic2_auth_msp/static/authentic2_auth_msp/css/screen.msp.css similarity index 100% rename from static/msp/css/screen.msp.css rename to src/authentic2_auth_msp/static/authentic2_auth_msp/css/screen.msp.css diff --git a/static/msp/img/Copie de illus_3.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/Copie de illus_3.jpg similarity index 100% rename from static/msp/img/Copie de illus_3.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/Copie de illus_3.jpg diff --git a/static/msp/img/Copie-de-ombre_content_h.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/Copie-de-ombre_content_h.png similarity index 100% rename from static/msp/img/Copie-de-ombre_content_h.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/Copie-de-ombre_content_h.png diff --git a/static/msp/img/Logo_URSSAF_2012_RVB_EnSavoirPlus.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/Logo_URSSAF_2012_RVB_EnSavoirPlus.png similarity index 100% rename from static/msp/img/Logo_URSSAF_2012_RVB_EnSavoirPlus.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/Logo_URSSAF_2012_RVB_EnSavoirPlus.png diff --git a/static/msp/img/Thumbs.db b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/Thumbs.db similarity index 100% rename from static/msp/img/Thumbs.db rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/Thumbs.db diff --git a/static/msp/img/__illus_1.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/__illus_1.jpg similarity index 100% rename from static/msp/img/__illus_1.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/__illus_1.jpg diff --git a/static/msp/img/__illus_2.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/__illus_2.jpg similarity index 100% rename from static/msp/img/__illus_2.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/__illus_2.jpg diff --git a/static/msp/img/__illus_4.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/__illus_4.jpg similarity index 100% rename from static/msp/img/__illus_4.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/__illus_4.jpg diff --git a/static/msp/img/bandeau_non_federe.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bandeau_non_federe.jpg similarity index 100% rename from static/msp/img/bandeau_non_federe.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bandeau_non_federe.jpg diff --git a/static/msp/img/bg/Thumbs.db b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/Thumbs.db similarity index 100% rename from static/msp/img/bg/Thumbs.db rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/Thumbs.db diff --git a/static/msp/img/bg/clip.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/clip.png similarity index 100% rename from static/msp/img/bg/clip.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/clip.png diff --git a/static/msp/img/bg/coin.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/coin.png similarity index 100% rename from static/msp/img/bg/coin.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/coin.png diff --git a/static/msp/img/bg/connect.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/connect.png similarity index 100% rename from static/msp/img/bg/connect.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/connect.png diff --git a/static/msp/img/bg/degrade.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/degrade.jpg similarity index 100% rename from static/msp/img/bg/degrade.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/degrade.jpg diff --git a/static/msp/img/bg/fermer.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/fermer.png similarity index 100% rename from static/msp/img/bg/fermer.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/fermer.png diff --git a/static/msp/img/bg/fleche.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/fleche.png similarity index 100% rename from static/msp/img/bg/fleche.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/fleche.png diff --git a/static/msp/img/bg/fleche_blanche.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/fleche_blanche.png similarity index 100% rename from static/msp/img/bg/fleche_blanche.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/fleche_blanche.png diff --git a/static/msp/img/bg/note.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/note.png similarity index 100% rename from static/msp/img/bg/note.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/note.png diff --git a/static/msp/img/bg/note2.gif b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/note2.gif similarity index 100% rename from static/msp/img/bg/note2.gif rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/note2.gif diff --git a/static/msp/img/bg/note2.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/note2.png similarity index 100% rename from static/msp/img/bg/note2.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/note2.png diff --git a/static/msp/img/bg/retour.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/retour.png similarity index 100% rename from static/msp/img/bg/retour.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/retour.png diff --git a/static/msp/img/bg/user.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/user.png similarity index 100% rename from static/msp/img/bg/user.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/user.png diff --git a/static/msp/img/bg/user_2.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/user_2.png similarity index 100% rename from static/msp/img/bg/user_2.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/user_2.png diff --git a/static/msp/img/bg/utilisateur.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/utilisateur.png similarity index 100% rename from static/msp/img/bg/utilisateur.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/utilisateur.png diff --git a/static/msp/img/bg/utilisateur_blanc.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/utilisateur_blanc.png similarity index 100% rename from static/msp/img/bg/utilisateur_blanc.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bg/utilisateur_blanc.png diff --git a/static/msp/img/bk-input.gif b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bk-input.gif similarity index 100% rename from static/msp/img/bk-input.gif rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bk-input.gif diff --git a/static/msp/img/bkg_creerVotreCompte.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bkg_creerVotreCompte.png similarity index 100% rename from static/msp/img/bkg_creerVotreCompte.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bkg_creerVotreCompte.png diff --git a/static/msp/img/bkg_puce_bonnes_raisons.gif b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/bkg_puce_bonnes_raisons.gif similarity index 100% rename from static/msp/img/bkg_puce_bonnes_raisons.gif rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/bkg_puce_bonnes_raisons.gif diff --git a/static/msp/img/btn_minscrire.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/btn_minscrire.png similarity index 100% rename from static/msp/img/btn_minscrire.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/btn_minscrire.png diff --git a/static/msp/img/deg_content_b.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/deg_content_b.png similarity index 100% rename from static/msp/img/deg_content_b.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/deg_content_b.png diff --git a/static/msp/img/deg_content_h.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/deg_content_h.png similarity index 100% rename from static/msp/img/deg_content_h.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/deg_content_h.png diff --git a/static/msp/img/degrade.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/degrade.jpg similarity index 100% rename from static/msp/img/degrade.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/degrade.jpg diff --git a/static/msp/img/fleche.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/fleche.png similarity index 100% rename from static/msp/img/fleche.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/fleche.png diff --git a/static/msp/img/fond_content_m.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_content_m.png similarity index 100% rename from static/msp/img/fond_content_m.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_content_m.png diff --git a/static/msp/img/fond_ensavoirplus_b.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_ensavoirplus_b.jpg similarity index 100% rename from static/msp/img/fond_ensavoirplus_b.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_ensavoirplus_b.jpg diff --git a/static/msp/img/fond_ensavoirplus_h.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_ensavoirplus_h.jpg similarity index 100% rename from static/msp/img/fond_ensavoirplus_h.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_ensavoirplus_h.jpg diff --git a/static/msp/img/fond_titre_1.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_titre_1.png similarity index 100% rename from static/msp/img/fond_titre_1.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_titre_1.png diff --git a/static/msp/img/fond_titre_2.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_titre_2.png similarity index 100% rename from static/msp/img/fond_titre_2.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_titre_2.png diff --git a/static/msp/img/fond_titre_3.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_titre_3.png similarity index 100% rename from static/msp/img/fond_titre_3.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_titre_3.png diff --git a/static/msp/img/fond_titre_4.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_titre_4.png similarity index 100% rename from static/msp/img/fond_titre_4.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/fond_titre_4.png diff --git a/static/msp/img/illus_1.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/illus_1.jpg similarity index 100% rename from static/msp/img/illus_1.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/illus_1.jpg diff --git a/static/msp/img/illus_2.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/illus_2.jpg similarity index 100% rename from static/msp/img/illus_2.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/illus_2.jpg diff --git a/static/msp/img/illus_3.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/illus_3.jpg similarity index 100% rename from static/msp/img/illus_3.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/illus_3.jpg diff --git a/static/msp/img/illus_4.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/illus_4.jpg similarity index 100% rename from static/msp/img/illus_4.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/illus_4.jpg diff --git a/static/msp/img/lie_avec_msp.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/lie_avec_msp.jpg similarity index 100% rename from static/msp/img/lie_avec_msp.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/lie_avec_msp.jpg diff --git a/static/msp/img/logo_1.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_1.jpg similarity index 100% rename from static/msp/img/logo_1.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_1.jpg diff --git a/static/msp/img/logo_10.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_10.png similarity index 100% rename from static/msp/img/logo_10.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_10.png diff --git a/static/msp/img/logo_11.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_11.jpg similarity index 100% rename from static/msp/img/logo_11.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_11.jpg diff --git a/static/msp/img/logo_2.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_2.jpg similarity index 100% rename from static/msp/img/logo_2.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_2.jpg diff --git a/static/msp/img/logo_3.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_3.jpg similarity index 100% rename from static/msp/img/logo_3.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_3.jpg diff --git a/static/msp/img/logo_5.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_5.jpg similarity index 100% rename from static/msp/img/logo_5.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_5.jpg diff --git a/static/msp/img/logo_6.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_6.jpg similarity index 100% rename from static/msp/img/logo_6.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_6.jpg diff --git a/static/msp/img/logo_6.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_6.png similarity index 100% rename from static/msp/img/logo_6.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_6.png diff --git a/static/msp/img/logo_7.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_7.png similarity index 100% rename from static/msp/img/logo_7.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_7.png diff --git a/static/msp/img/logo_8.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_8.jpg similarity index 100% rename from static/msp/img/logo_8.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_8.jpg diff --git a/static/msp/img/logo_9.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_9.png similarity index 100% rename from static/msp/img/logo_9.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_9.png diff --git a/static/msp/img/logo_visite_guidee.gif b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_visite_guidee.gif similarity index 100% rename from static/msp/img/logo_visite_guidee.gif rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/logo_visite_guidee.gif diff --git a/static/msp/img/mon_service-public.fr.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/mon_service-public.fr.png similarity index 100% rename from static/msp/img/mon_service-public.fr.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/mon_service-public.fr.png diff --git a/static/msp/img/mon_service-public.fr_petit.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/mon_service-public.fr_petit.png similarity index 100% rename from static/msp/img/mon_service-public.fr_petit.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/mon_service-public.fr_petit.png diff --git a/static/msp/img/old logo_3.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/old logo_3.jpg similarity index 100% rename from static/msp/img/old logo_3.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/old logo_3.jpg diff --git a/static/msp/img/old logo_4.jpg b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/old logo_4.jpg similarity index 100% rename from static/msp/img/old logo_4.jpg rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/old logo_4.jpg diff --git a/static/msp/img/old__visite_guidee.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/old__visite_guidee.png similarity index 100% rename from static/msp/img/old__visite_guidee.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/old__visite_guidee.png diff --git a/static/msp/img/ombre_content_b.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/ombre_content_b.png similarity index 100% rename from static/msp/img/ombre_content_b.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/ombre_content_b.png diff --git a/static/msp/img/ombre_content_h.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/ombre_content_h.png similarity index 100% rename from static/msp/img/ombre_content_h.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/ombre_content_h.png diff --git a/static/msp/img/ombre_content_h2.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/ombre_content_h2.png similarity index 100% rename from static/msp/img/ombre_content_h2.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/ombre_content_h2.png diff --git a/static/msp/img/ombre_content_m.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/ombre_content_m.png similarity index 100% rename from static/msp/img/ombre_content_m.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/ombre_content_m.png diff --git a/static/msp/img/toutes_vos_demarches.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/toutes_vos_demarches.png similarity index 100% rename from static/msp/img/toutes_vos_demarches.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/toutes_vos_demarches.png diff --git a/static/msp/img/visite_guidee.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/visite_guidee.png similarity index 100% rename from static/msp/img/visite_guidee.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/visite_guidee.png diff --git a/static/msp/img/vous_etes_actuellement.png b/src/authentic2_auth_msp/static/authentic2_auth_msp/img/vous_etes_actuellement.png similarity index 100% rename from static/msp/img/vous_etes_actuellement.png rename to src/authentic2_auth_msp/static/authentic2_auth_msp/img/vous_etes_actuellement.png diff --git a/static/msp/js/domready.js b/src/authentic2_auth_msp/static/authentic2_auth_msp/js/domready.js similarity index 100% rename from static/msp/js/domready.js rename to src/authentic2_auth_msp/static/authentic2_auth_msp/js/domready.js diff --git a/static/msp/js/getElementsByClassName-1.0.1.js b/src/authentic2_auth_msp/static/authentic2_auth_msp/js/getElementsByClassName-1.0.1.js similarity index 100% rename from static/msp/js/getElementsByClassName-1.0.1.js rename to src/authentic2_auth_msp/static/authentic2_auth_msp/js/getElementsByClassName-1.0.1.js diff --git a/static/msp/js/oauth.js b/src/authentic2_auth_msp/static/authentic2_auth_msp/js/oauth.js similarity index 100% rename from static/msp/js/oauth.js rename to src/authentic2_auth_msp/static/authentic2_auth_msp/js/oauth.js diff --git a/templates/msp/close-popup-redirect.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/close-popup-redirect.html similarity index 100% rename from templates/msp/close-popup-redirect.html rename to src/authentic2_auth_msp/templates/authentic2_auth_msp/close-popup-redirect.html diff --git a/templates/msp/confirm_unlink.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/confirm_unlink.html similarity index 100% rename from templates/msp/confirm_unlink.html rename to src/authentic2_auth_msp/templates/authentic2_auth_msp/confirm_unlink.html diff --git a/templates/msp/connecting.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/connecting.html similarity index 100% rename from templates/msp/connecting.html rename to src/authentic2_auth_msp/templates/authentic2_auth_msp/connecting.html diff --git a/templates/msp/documents.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/documents.html similarity index 100% rename from templates/msp/documents.html rename to src/authentic2_auth_msp/templates/authentic2_auth_msp/documents.html diff --git a/templates/msp/link_management.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/link_management.html similarity index 100% rename from templates/msp/link_management.html rename to src/authentic2_auth_msp/templates/authentic2_auth_msp/link_management.html diff --git a/templates/msp/linking.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/linking.html similarity index 100% rename from templates/msp/linking.html rename to src/authentic2_auth_msp/templates/authentic2_auth_msp/linking.html diff --git a/templates/msp/unlink_done.html b/src/authentic2_auth_msp/templates/authentic2_auth_msp/unlink_done.html similarity index 100% rename from templates/msp/unlink_done.html rename to src/authentic2_auth_msp/templates/authentic2_auth_msp/unlink_done.html diff --git a/urls.py b/src/authentic2_auth_msp/urls.py similarity index 100% rename from urls.py rename to src/authentic2_auth_msp/urls.py diff --git a/views.py b/src/authentic2_auth_msp/views.py similarity index 100% rename from views.py rename to src/authentic2_auth_msp/views.py