From a221d7585a1c43cecc6c6ff54e25e98f4914d3ec Mon Sep 17 00:00:00 2001
From: Bryan Brancotte <bryan.brancotte@pasteur.fr>
Date: Wed, 6 Mar 2024 14:16:57 +0100
Subject: [PATCH] rename to SincellTE, simplify config

---
 MANIFEST.in                                   |  10 ++++-
 README.md                                     |   2 +-
 README.rst                                    |   2 +-
 setup.cfg                                     |   8 ++--
 setup.py                                      |  37 +-----------------
 {ebaii => sincellte}/__init__.py              |   0
 {ebaii => sincellte}/apps.py                  |   4 +-
 {ebaii => sincellte}/static/css/ifb-patch.css |   0
 {ebaii => sincellte}/static/img/aviesan.png   | Bin
 .../static/img/cnrs-roscoff.png               | Bin
 {ebaii => sincellte}/static/img/inserm.png    | Bin
 .../static/img/logo-ifb-couleur.svg           |   0
 .../templates/strass_app/address.html         |   0
 .../templates/strass_app/credits.html         |   0
 .../templates/strass_app/extra_in_header.html |   0
 .../templates/strass_app/logo_left.html       |   0
 .../templates/strass_app/logo_right.html      |   0
 .../templates/strass_app/upper_nav_bar.html   |   0
 18 files changed, 19 insertions(+), 44 deletions(-)
 rename {ebaii => sincellte}/__init__.py (100%)
 rename {ebaii => sincellte}/apps.py (62%)
 rename {ebaii => sincellte}/static/css/ifb-patch.css (100%)
 rename {ebaii => sincellte}/static/img/aviesan.png (100%)
 rename {ebaii => sincellte}/static/img/cnrs-roscoff.png (100%)
 rename {ebaii => sincellte}/static/img/inserm.png (100%)
 rename {ebaii => sincellte}/static/img/logo-ifb-couleur.svg (100%)
 rename {ebaii => sincellte}/templates/strass_app/address.html (100%)
 rename {ebaii => sincellte}/templates/strass_app/credits.html (100%)
 rename {ebaii => sincellte}/templates/strass_app/extra_in_header.html (100%)
 rename {ebaii => sincellte}/templates/strass_app/logo_left.html (100%)
 rename {ebaii => sincellte}/templates/strass_app/logo_right.html (100%)
 rename {ebaii => sincellte}/templates/strass_app/upper_nav_bar.html (100%)

diff --git a/MANIFEST.in b/MANIFEST.in
index 9c8317c..58c21f5 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,2 +1,10 @@
 include LICENSE
-include README.rst
\ No newline at end of file
+include README.rst
+recursive-include sincellte/templatetags *.py
+recursive-include sincellte/templates/strass_app *.html
+recursive-include sincellte/templates *.html
+recursive-include sincellte/static/css *.css
+recursive-include sincellte/static/js *.js
+recursive-include sincellte/static/img *.png *.jpg *.svg
+recursive-include sincellte/locale/en/LC_MESSAGES *.po *.mo
+recursive-include sincellte/locale/fr/LC_MESSAGES *.po *.mo
\ No newline at end of file
diff --git a/README.md b/README.md
index 6d0fccf..0300595 100644
--- a/README.md
+++ b/README.md
@@ -1 +1 @@
-# A package theming django-basetheme-bootstrap for EBAII
+# A package theming django-basetheme-bootstrap for SincellTE
diff --git a/README.rst b/README.rst
index d587f11..6dc5424 100644
--- a/README.rst
+++ b/README.rst
@@ -1,3 +1,3 @@
 ===============================================================================
-A package theming django-basetheme-bootstrap for EBAII
+A package theming django-basetheme-bootstrap for SincellTE
 ===============================================================================
\ No newline at end of file
diff --git a/setup.cfg b/setup.cfg
index e2e729a..f37f574 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,13 +1,14 @@
 [metadata]
-name = ebaii-theme
-version = 1.3.1
-description = A theme for EBAII school for django-basetheme-bootstrap app
+name = sincellte-theme
+version = 1.0.0
+description = A theme for SincellTE school for django-basetheme-bootstrap app
 long_description = file: README.rst
 author = Bryan Brancotte
 author_email = bryan.brancotte@pasteur.fr
 license = BSD-3-Clause  # Example license
 classifiers =
     Environment :: Web Environment
+    Development Status :: 5 - Production/Stable
     Framework :: Django
     Intended Audience :: Developers
     License :: OSI Approved :: BSD License
@@ -16,6 +17,7 @@ classifiers =
     Programming Language :: Python :: 3
     Topic :: Internet :: WWW/HTTP
     Topic :: Internet :: WWW/HTTP :: Dynamic Content
+    Topic :: Utilities
 
 [options]
 include_package_data = true
diff --git a/setup.py b/setup.py
index 0ad46bf..8b95793 100644
--- a/setup.py
+++ b/setup.py
@@ -3,39 +3,4 @@
 
 from setuptools import setup
 
-readme = open('README.rst').read()
-
-setup(
-    name='django-basetheme-bootstrap-ebaii-theme',
-    version='1.3.1',
-    description='EBAII theming for django-basetheme-bootstrap',
-    long_description=readme,
-    author='Bryan Brancotte',
-    author_email='bryan.brancotte@pasteur.fr',
-    packages=['ebaii'],
-    install_requires=[
-        'django-basetheme-bootstrap'
-    ],
-    license="BSD",
-    package_data={'ebaii': [
-        "templatetags/*",
-        "templates/strass_app/*",
-        "templates/*",
-        "static/css/*",
-        "static/js/*",
-        "static/img/*",
-        "locale/en/LC_MESSAGES/*",
-        "locale/fr/LC_MESSAGES/*",
-    ]},
-    classifiers=[
-        'Development Status :: 5 - Production/Stable',
-        'Environment :: Web Environment',
-        'Framework :: Django',
-        'Intended Audience :: Developers',
-        'License :: OSI Approved :: BSD License',
-        'Operating System :: OS Independent',
-        'Programming Language :: Python',
-        'Programming Language :: Python :: 3',
-        'Topic :: Utilities',
-    ],
-)
+setup()
diff --git a/ebaii/__init__.py b/sincellte/__init__.py
similarity index 100%
rename from ebaii/__init__.py
rename to sincellte/__init__.py
diff --git a/ebaii/apps.py b/sincellte/apps.py
similarity index 62%
rename from ebaii/apps.py
rename to sincellte/apps.py
index 1949cc2..a748476 100644
--- a/ebaii/apps.py
+++ b/sincellte/apps.py
@@ -1,6 +1,6 @@
 from django.apps import AppConfig
 
 
-class EbaiiConfig(AppConfig):
+class SincellteConfig(AppConfig):
     default_auto_field = 'django.db.models.BigAutoField'
-    name = 'ebaii'
+    name = 'sincellte'
diff --git a/ebaii/static/css/ifb-patch.css b/sincellte/static/css/ifb-patch.css
similarity index 100%
rename from ebaii/static/css/ifb-patch.css
rename to sincellte/static/css/ifb-patch.css
diff --git a/ebaii/static/img/aviesan.png b/sincellte/static/img/aviesan.png
similarity index 100%
rename from ebaii/static/img/aviesan.png
rename to sincellte/static/img/aviesan.png
diff --git a/ebaii/static/img/cnrs-roscoff.png b/sincellte/static/img/cnrs-roscoff.png
similarity index 100%
rename from ebaii/static/img/cnrs-roscoff.png
rename to sincellte/static/img/cnrs-roscoff.png
diff --git a/ebaii/static/img/inserm.png b/sincellte/static/img/inserm.png
similarity index 100%
rename from ebaii/static/img/inserm.png
rename to sincellte/static/img/inserm.png
diff --git a/ebaii/static/img/logo-ifb-couleur.svg b/sincellte/static/img/logo-ifb-couleur.svg
similarity index 100%
rename from ebaii/static/img/logo-ifb-couleur.svg
rename to sincellte/static/img/logo-ifb-couleur.svg
diff --git a/ebaii/templates/strass_app/address.html b/sincellte/templates/strass_app/address.html
similarity index 100%
rename from ebaii/templates/strass_app/address.html
rename to sincellte/templates/strass_app/address.html
diff --git a/ebaii/templates/strass_app/credits.html b/sincellte/templates/strass_app/credits.html
similarity index 100%
rename from ebaii/templates/strass_app/credits.html
rename to sincellte/templates/strass_app/credits.html
diff --git a/ebaii/templates/strass_app/extra_in_header.html b/sincellte/templates/strass_app/extra_in_header.html
similarity index 100%
rename from ebaii/templates/strass_app/extra_in_header.html
rename to sincellte/templates/strass_app/extra_in_header.html
diff --git a/ebaii/templates/strass_app/logo_left.html b/sincellte/templates/strass_app/logo_left.html
similarity index 100%
rename from ebaii/templates/strass_app/logo_left.html
rename to sincellte/templates/strass_app/logo_left.html
diff --git a/ebaii/templates/strass_app/logo_right.html b/sincellte/templates/strass_app/logo_right.html
similarity index 100%
rename from ebaii/templates/strass_app/logo_right.html
rename to sincellte/templates/strass_app/logo_right.html
diff --git a/ebaii/templates/strass_app/upper_nav_bar.html b/sincellte/templates/strass_app/upper_nav_bar.html
similarity index 100%
rename from ebaii/templates/strass_app/upper_nav_bar.html
rename to sincellte/templates/strass_app/upper_nav_bar.html
-- 
GitLab