diff --git a/.gitignore b/.gitignore index fc983c5..18b3ab1 100644 --- a/.gitignore +++ b/.gitignore @@ -15,7 +15,7 @@ dist/ docs/_build htmlcov/ output/ -sigal/version.py +src/sigal/version.py tags venv ffmpeg2pass-0.log diff --git a/pyproject.toml b/pyproject.toml index dd629a9..a8a0a04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=64", "wheel", "setuptools_scm[toml]>=3.4"] build-backend = "setuptools.build_meta" [tool.setuptools_scm] -write_to = "sigal/version.py" +write_to = "src/sigal/version.py" [tool.black] line-length = 88 diff --git a/setup.cfg b/setup.cfg index 475d925..1e2e41a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,7 +8,7 @@ author_email = contact@saimon.org url = https://github.com/saimn/sigal keywords = gallery, static, generator, image, video, galleria license = MIT License -license_file = LICENSE +license_files = LICENSE classifiers = Development Status :: 5 - Production/Stable Environment :: Console @@ -25,7 +25,7 @@ classifiers = [options] zip_safe = False include_package_data = True -packages = find: +packages = find_namespace: python_requires = >=3.8 install_requires = blinker @@ -42,8 +42,12 @@ tests = pytest; pytest-cov docs = Sphinx; alabaster; cryptography [options.packages.find] -exclude = - tests +where = src + +[options.package_data] +sigal = + plugins/** + themes/** [options.entry_points] console_scripts = @@ -64,6 +68,17 @@ ignore = E203,W503,E731 profile = black known_third_party=blinker,click,jinja2,markdown,natsort,PIL,Pillow,pilkit +[coverage:run] +source = sigal +omit = + /tmp/* + tests/* + +[coverage:paths] +source = + src/sigal + */.tox/*/lib/python*/site-packages/sigal + [coverage:report] exclude_lines = pragma: no cover diff --git a/sigal/__init__.py b/src/sigal/__init__.py similarity index 100% rename from sigal/__init__.py rename to src/sigal/__init__.py diff --git a/sigal/gallery.py b/src/sigal/gallery.py similarity index 100% rename from sigal/gallery.py rename to src/sigal/gallery.py diff --git a/sigal/image.py b/src/sigal/image.py similarity index 100% rename from sigal/image.py rename to src/sigal/image.py diff --git a/sigal/log.py b/src/sigal/log.py similarity index 100% rename from sigal/log.py rename to src/sigal/log.py diff --git a/sigal/plugins/__init__.py b/src/sigal/plugins/__init__.py similarity index 100% rename from sigal/plugins/__init__.py rename to src/sigal/plugins/__init__.py diff --git a/sigal/plugins/adjust.py b/src/sigal/plugins/adjust.py similarity index 100% rename from sigal/plugins/adjust.py rename to src/sigal/plugins/adjust.py diff --git a/sigal/plugins/compress_assets.py b/src/sigal/plugins/compress_assets.py similarity index 100% rename from sigal/plugins/compress_assets.py rename to src/sigal/plugins/compress_assets.py diff --git a/sigal/plugins/copyright.py b/src/sigal/plugins/copyright.py similarity index 100% rename from sigal/plugins/copyright.py rename to src/sigal/plugins/copyright.py diff --git a/sigal/plugins/encrypt/__init__.py b/src/sigal/plugins/encrypt/__init__.py similarity index 100% rename from sigal/plugins/encrypt/__init__.py rename to src/sigal/plugins/encrypt/__init__.py diff --git a/sigal/plugins/encrypt/encrypt.py b/src/sigal/plugins/encrypt/encrypt.py similarity index 100% rename from sigal/plugins/encrypt/encrypt.py rename to src/sigal/plugins/encrypt/encrypt.py diff --git a/sigal/plugins/encrypt/endec.py b/src/sigal/plugins/encrypt/endec.py similarity index 100% rename from sigal/plugins/encrypt/endec.py rename to src/sigal/plugins/encrypt/endec.py diff --git a/sigal/plugins/encrypt/static/decrypt.js b/src/sigal/plugins/encrypt/static/decrypt.js similarity index 100% rename from sigal/plugins/encrypt/static/decrypt.js rename to src/sigal/plugins/encrypt/static/decrypt.js diff --git a/sigal/plugins/encrypt/static/keycheck.txt b/src/sigal/plugins/encrypt/static/keycheck.txt similarity index 100% rename from sigal/plugins/encrypt/static/keycheck.txt rename to src/sigal/plugins/encrypt/static/keycheck.txt diff --git a/sigal/plugins/encrypt/static/sw.js b/src/sigal/plugins/encrypt/static/sw.js similarity index 100% rename from sigal/plugins/encrypt/static/sw.js rename to src/sigal/plugins/encrypt/static/sw.js diff --git a/sigal/plugins/extended_caching.py b/src/sigal/plugins/extended_caching.py similarity index 100% rename from sigal/plugins/extended_caching.py rename to src/sigal/plugins/extended_caching.py diff --git a/sigal/plugins/feeds.py b/src/sigal/plugins/feeds.py similarity index 100% rename from sigal/plugins/feeds.py rename to src/sigal/plugins/feeds.py diff --git a/sigal/plugins/media_page.py b/src/sigal/plugins/media_page.py similarity index 100% rename from sigal/plugins/media_page.py rename to src/sigal/plugins/media_page.py diff --git a/sigal/plugins/nomedia.py b/src/sigal/plugins/nomedia.py similarity index 100% rename from sigal/plugins/nomedia.py rename to src/sigal/plugins/nomedia.py diff --git a/sigal/plugins/nonmedia_files.py b/src/sigal/plugins/nonmedia_files.py similarity index 100% rename from sigal/plugins/nonmedia_files.py rename to src/sigal/plugins/nonmedia_files.py diff --git a/sigal/plugins/titleregexp.py b/src/sigal/plugins/titleregexp.py similarity index 100% rename from sigal/plugins/titleregexp.py rename to src/sigal/plugins/titleregexp.py diff --git a/sigal/plugins/upload_s3.py b/src/sigal/plugins/upload_s3.py similarity index 100% rename from sigal/plugins/upload_s3.py rename to src/sigal/plugins/upload_s3.py diff --git a/sigal/plugins/watermark.py b/src/sigal/plugins/watermark.py similarity index 100% rename from sigal/plugins/watermark.py rename to src/sigal/plugins/watermark.py diff --git a/sigal/plugins/zip_gallery.py b/src/sigal/plugins/zip_gallery.py similarity index 100% rename from sigal/plugins/zip_gallery.py rename to src/sigal/plugins/zip_gallery.py diff --git a/sigal/settings.py b/src/sigal/settings.py similarity index 100% rename from sigal/settings.py rename to src/sigal/settings.py diff --git a/sigal/signals.py b/src/sigal/signals.py similarity index 100% rename from sigal/signals.py rename to src/sigal/signals.py diff --git a/sigal/templates/sigal.conf.py b/src/sigal/templates/sigal.conf.py similarity index 100% rename from sigal/templates/sigal.conf.py rename to src/sigal/templates/sigal.conf.py diff --git a/sigal/themes/colorbox/static/css/colorbox.css b/src/sigal/themes/colorbox/static/css/colorbox.css similarity index 100% rename from sigal/themes/colorbox/static/css/colorbox.css rename to src/sigal/themes/colorbox/static/css/colorbox.css diff --git a/sigal/themes/colorbox/static/css/skeleton.css b/src/sigal/themes/colorbox/static/css/skeleton.css similarity index 100% rename from sigal/themes/colorbox/static/css/skeleton.css rename to src/sigal/themes/colorbox/static/css/skeleton.css diff --git a/sigal/themes/colorbox/static/css/style.css b/src/sigal/themes/colorbox/static/css/style.css similarity index 100% rename from sigal/themes/colorbox/static/css/style.css rename to src/sigal/themes/colorbox/static/css/style.css diff --git a/sigal/themes/colorbox/static/images/controls.png b/src/sigal/themes/colorbox/static/images/controls.png similarity index 100% rename from sigal/themes/colorbox/static/images/controls.png rename to src/sigal/themes/colorbox/static/images/controls.png diff --git a/sigal/themes/colorbox/static/images/loading.gif b/src/sigal/themes/colorbox/static/images/loading.gif similarity index 100% rename from sigal/themes/colorbox/static/images/loading.gif rename to src/sigal/themes/colorbox/static/images/loading.gif diff --git a/sigal/themes/colorbox/static/js/app-with-media-page.js b/src/sigal/themes/colorbox/static/js/app-with-media-page.js similarity index 100% rename from sigal/themes/colorbox/static/js/app-with-media-page.js rename to src/sigal/themes/colorbox/static/js/app-with-media-page.js diff --git a/sigal/themes/colorbox/static/js/app.js b/src/sigal/themes/colorbox/static/js/app.js similarity index 100% rename from sigal/themes/colorbox/static/js/app.js rename to src/sigal/themes/colorbox/static/js/app.js diff --git a/sigal/themes/colorbox/static/js/jquery-2.2.1.js b/src/sigal/themes/colorbox/static/js/jquery-2.2.1.js similarity index 100% rename from sigal/themes/colorbox/static/js/jquery-2.2.1.js rename to src/sigal/themes/colorbox/static/js/jquery-2.2.1.js diff --git a/sigal/themes/colorbox/static/js/jquery-2.2.1.min.js b/src/sigal/themes/colorbox/static/js/jquery-2.2.1.min.js similarity index 100% rename from sigal/themes/colorbox/static/js/jquery-2.2.1.min.js rename to src/sigal/themes/colorbox/static/js/jquery-2.2.1.min.js diff --git a/sigal/themes/colorbox/static/js/jquery.colorbox-min.js b/src/sigal/themes/colorbox/static/js/jquery.colorbox-min.js similarity index 100% rename from sigal/themes/colorbox/static/js/jquery.colorbox-min.js rename to src/sigal/themes/colorbox/static/js/jquery.colorbox-min.js diff --git a/sigal/themes/colorbox/static/js/jquery.colorbox.js b/src/sigal/themes/colorbox/static/js/jquery.colorbox.js similarity index 100% rename from sigal/themes/colorbox/static/js/jquery.colorbox.js rename to src/sigal/themes/colorbox/static/js/jquery.colorbox.js diff --git a/sigal/themes/colorbox/static/js/jquery.touchSwipe.js b/src/sigal/themes/colorbox/static/js/jquery.touchSwipe.js similarity index 100% rename from sigal/themes/colorbox/static/js/jquery.touchSwipe.js rename to src/sigal/themes/colorbox/static/js/jquery.touchSwipe.js diff --git a/sigal/themes/colorbox/static/js/jquery.touchSwipe.min.js b/src/sigal/themes/colorbox/static/js/jquery.touchSwipe.min.js similarity index 100% rename from sigal/themes/colorbox/static/js/jquery.touchSwipe.min.js rename to src/sigal/themes/colorbox/static/js/jquery.touchSwipe.min.js diff --git a/sigal/themes/colorbox/templates/album.html b/src/sigal/themes/colorbox/templates/album.html similarity index 100% rename from sigal/themes/colorbox/templates/album.html rename to src/sigal/themes/colorbox/templates/album.html diff --git a/sigal/themes/colorbox/templates/album_list.html b/src/sigal/themes/colorbox/templates/album_list.html similarity index 100% rename from sigal/themes/colorbox/templates/album_list.html rename to src/sigal/themes/colorbox/templates/album_list.html diff --git a/sigal/themes/colorbox/templates/base.html b/src/sigal/themes/colorbox/templates/base.html similarity index 100% rename from sigal/themes/colorbox/templates/base.html rename to src/sigal/themes/colorbox/templates/base.html diff --git a/sigal/themes/colorbox/templates/media.html b/src/sigal/themes/colorbox/templates/media.html similarity index 100% rename from sigal/themes/colorbox/templates/media.html rename to src/sigal/themes/colorbox/templates/media.html diff --git a/sigal/themes/default/static/leaflet/Control.FullScreen.css b/src/sigal/themes/default/static/leaflet/Control.FullScreen.css similarity index 100% rename from sigal/themes/default/static/leaflet/Control.FullScreen.css rename to src/sigal/themes/default/static/leaflet/Control.FullScreen.css diff --git a/sigal/themes/default/static/leaflet/Control.FullScreen.js b/src/sigal/themes/default/static/leaflet/Control.FullScreen.js similarity index 100% rename from sigal/themes/default/static/leaflet/Control.FullScreen.js rename to src/sigal/themes/default/static/leaflet/Control.FullScreen.js diff --git a/sigal/themes/default/static/leaflet/Leaflet.Photo.css b/src/sigal/themes/default/static/leaflet/Leaflet.Photo.css similarity index 100% rename from sigal/themes/default/static/leaflet/Leaflet.Photo.css rename to src/sigal/themes/default/static/leaflet/Leaflet.Photo.css diff --git a/sigal/themes/default/static/leaflet/Leaflet.Photo.js b/src/sigal/themes/default/static/leaflet/Leaflet.Photo.js similarity index 100% rename from sigal/themes/default/static/leaflet/Leaflet.Photo.js rename to src/sigal/themes/default/static/leaflet/Leaflet.Photo.js diff --git a/sigal/themes/default/static/leaflet/MarkerCluster.Default.css b/src/sigal/themes/default/static/leaflet/MarkerCluster.Default.css similarity index 100% rename from sigal/themes/default/static/leaflet/MarkerCluster.Default.css rename to src/sigal/themes/default/static/leaflet/MarkerCluster.Default.css diff --git a/sigal/themes/default/static/leaflet/MarkerCluster.css b/src/sigal/themes/default/static/leaflet/MarkerCluster.css similarity index 100% rename from sigal/themes/default/static/leaflet/MarkerCluster.css rename to src/sigal/themes/default/static/leaflet/MarkerCluster.css diff --git a/sigal/themes/default/static/leaflet/README b/src/sigal/themes/default/static/leaflet/README similarity index 100% rename from sigal/themes/default/static/leaflet/README rename to src/sigal/themes/default/static/leaflet/README diff --git a/sigal/themes/default/static/leaflet/icon-fullscreen-2x.png b/src/sigal/themes/default/static/leaflet/icon-fullscreen-2x.png similarity index 100% rename from sigal/themes/default/static/leaflet/icon-fullscreen-2x.png rename to src/sigal/themes/default/static/leaflet/icon-fullscreen-2x.png diff --git a/sigal/themes/default/static/leaflet/icon-fullscreen.png b/src/sigal/themes/default/static/leaflet/icon-fullscreen.png similarity index 100% rename from sigal/themes/default/static/leaflet/icon-fullscreen.png rename to src/sigal/themes/default/static/leaflet/icon-fullscreen.png diff --git a/sigal/themes/default/static/leaflet/images/layers-2x.png b/src/sigal/themes/default/static/leaflet/images/layers-2x.png similarity index 100% rename from sigal/themes/default/static/leaflet/images/layers-2x.png rename to src/sigal/themes/default/static/leaflet/images/layers-2x.png diff --git a/sigal/themes/default/static/leaflet/images/layers.png b/src/sigal/themes/default/static/leaflet/images/layers.png similarity index 100% rename from sigal/themes/default/static/leaflet/images/layers.png rename to src/sigal/themes/default/static/leaflet/images/layers.png diff --git a/sigal/themes/default/static/leaflet/images/marker-icon-2x.png b/src/sigal/themes/default/static/leaflet/images/marker-icon-2x.png similarity index 100% rename from sigal/themes/default/static/leaflet/images/marker-icon-2x.png rename to src/sigal/themes/default/static/leaflet/images/marker-icon-2x.png diff --git a/sigal/themes/default/static/leaflet/images/marker-icon.png b/src/sigal/themes/default/static/leaflet/images/marker-icon.png similarity index 100% rename from sigal/themes/default/static/leaflet/images/marker-icon.png rename to src/sigal/themes/default/static/leaflet/images/marker-icon.png diff --git a/sigal/themes/default/static/leaflet/images/marker-shadow.png b/src/sigal/themes/default/static/leaflet/images/marker-shadow.png similarity index 100% rename from sigal/themes/default/static/leaflet/images/marker-shadow.png rename to src/sigal/themes/default/static/leaflet/images/marker-shadow.png diff --git a/sigal/themes/default/static/leaflet/leaflet-providers.js b/src/sigal/themes/default/static/leaflet/leaflet-providers.js similarity index 100% rename from sigal/themes/default/static/leaflet/leaflet-providers.js rename to src/sigal/themes/default/static/leaflet/leaflet-providers.js diff --git a/sigal/themes/default/static/leaflet/leaflet-src.js b/src/sigal/themes/default/static/leaflet/leaflet-src.js similarity index 100% rename from sigal/themes/default/static/leaflet/leaflet-src.js rename to src/sigal/themes/default/static/leaflet/leaflet-src.js diff --git a/sigal/themes/default/static/leaflet/leaflet.css b/src/sigal/themes/default/static/leaflet/leaflet.css similarity index 100% rename from sigal/themes/default/static/leaflet/leaflet.css rename to src/sigal/themes/default/static/leaflet/leaflet.css diff --git a/sigal/themes/default/static/leaflet/leaflet.js b/src/sigal/themes/default/static/leaflet/leaflet.js similarity index 100% rename from sigal/themes/default/static/leaflet/leaflet.js rename to src/sigal/themes/default/static/leaflet/leaflet.js diff --git a/sigal/themes/default/static/leaflet/leaflet.markercluster-src.js b/src/sigal/themes/default/static/leaflet/leaflet.markercluster-src.js similarity index 100% rename from sigal/themes/default/static/leaflet/leaflet.markercluster-src.js rename to src/sigal/themes/default/static/leaflet/leaflet.markercluster-src.js diff --git a/sigal/themes/default/static/leaflet/leaflet.markercluster.js b/src/sigal/themes/default/static/leaflet/leaflet.markercluster.js similarity index 100% rename from sigal/themes/default/static/leaflet/leaflet.markercluster.js rename to src/sigal/themes/default/static/leaflet/leaflet.markercluster.js diff --git a/sigal/themes/default/templates/analytics.html b/src/sigal/themes/default/templates/analytics.html similarity index 100% rename from sigal/themes/default/templates/analytics.html rename to src/sigal/themes/default/templates/analytics.html diff --git a/sigal/themes/default/templates/breadcrumb.html b/src/sigal/themes/default/templates/breadcrumb.html similarity index 100% rename from sigal/themes/default/templates/breadcrumb.html rename to src/sigal/themes/default/templates/breadcrumb.html diff --git a/sigal/themes/default/templates/decrypt.html b/src/sigal/themes/default/templates/decrypt.html similarity index 100% rename from sigal/themes/default/templates/decrypt.html rename to src/sigal/themes/default/templates/decrypt.html diff --git a/sigal/themes/default/templates/default_head.html b/src/sigal/themes/default/templates/default_head.html similarity index 100% rename from sigal/themes/default/templates/default_head.html rename to src/sigal/themes/default/templates/default_head.html diff --git a/sigal/themes/default/templates/download_zip.html b/src/sigal/themes/default/templates/download_zip.html similarity index 100% rename from sigal/themes/default/templates/download_zip.html rename to src/sigal/themes/default/templates/download_zip.html diff --git a/sigal/themes/default/templates/footer.html b/src/sigal/themes/default/templates/footer.html similarity index 100% rename from sigal/themes/default/templates/footer.html rename to src/sigal/themes/default/templates/footer.html diff --git a/sigal/themes/default/templates/gtm.html b/src/sigal/themes/default/templates/gtm.html similarity index 100% rename from sigal/themes/default/templates/gtm.html rename to src/sigal/themes/default/templates/gtm.html diff --git a/sigal/themes/default/templates/links.html b/src/sigal/themes/default/templates/links.html similarity index 100% rename from sigal/themes/default/templates/links.html rename to src/sigal/themes/default/templates/links.html diff --git a/sigal/themes/default/templates/map.html b/src/sigal/themes/default/templates/map.html similarity index 100% rename from sigal/themes/default/templates/map.html rename to src/sigal/themes/default/templates/map.html diff --git a/sigal/themes/default/templates/piwik.html b/src/sigal/themes/default/templates/piwik.html similarity index 100% rename from sigal/themes/default/templates/piwik.html rename to src/sigal/themes/default/templates/piwik.html diff --git a/sigal/themes/galleria/README b/src/sigal/themes/galleria/README similarity index 100% rename from sigal/themes/galleria/README rename to src/sigal/themes/galleria/README diff --git a/sigal/themes/galleria/static/css/normalize.css b/src/sigal/themes/galleria/static/css/normalize.css similarity index 100% rename from sigal/themes/galleria/static/css/normalize.css rename to src/sigal/themes/galleria/static/css/normalize.css diff --git a/sigal/themes/galleria/static/css/style.css b/src/sigal/themes/galleria/static/css/style.css similarity index 100% rename from sigal/themes/galleria/static/css/style.css rename to src/sigal/themes/galleria/static/css/style.css diff --git a/sigal/themes/galleria/static/galleria.js b/src/sigal/themes/galleria/static/galleria.js similarity index 100% rename from sigal/themes/galleria/static/galleria.js rename to src/sigal/themes/galleria/static/galleria.js diff --git a/sigal/themes/galleria/static/galleria.min.js b/src/sigal/themes/galleria/static/galleria.min.js similarity index 100% rename from sigal/themes/galleria/static/galleria.min.js rename to src/sigal/themes/galleria/static/galleria.min.js diff --git a/sigal/themes/galleria/static/img/empty.png b/src/sigal/themes/galleria/static/img/empty.png similarity index 100% rename from sigal/themes/galleria/static/img/empty.png rename to src/sigal/themes/galleria/static/img/empty.png diff --git a/sigal/themes/galleria/static/img/fullscreen.png b/src/sigal/themes/galleria/static/img/fullscreen.png similarity index 100% rename from sigal/themes/galleria/static/img/fullscreen.png rename to src/sigal/themes/galleria/static/img/fullscreen.png diff --git a/sigal/themes/galleria/static/jquery-3.3.1.js b/src/sigal/themes/galleria/static/jquery-3.3.1.js similarity index 100% rename from sigal/themes/galleria/static/jquery-3.3.1.js rename to src/sigal/themes/galleria/static/jquery-3.3.1.js diff --git a/sigal/themes/galleria/static/jquery-3.3.1.min.js b/src/sigal/themes/galleria/static/jquery-3.3.1.min.js similarity index 100% rename from sigal/themes/galleria/static/jquery-3.3.1.min.js rename to src/sigal/themes/galleria/static/jquery-3.3.1.min.js diff --git a/sigal/themes/galleria/static/plugins/history/galleria.history.js b/src/sigal/themes/galleria/static/plugins/history/galleria.history.js similarity index 100% rename from sigal/themes/galleria/static/plugins/history/galleria.history.js rename to src/sigal/themes/galleria/static/plugins/history/galleria.history.js diff --git a/sigal/themes/galleria/static/plugins/history/galleria.history.min.js b/src/sigal/themes/galleria/static/plugins/history/galleria.history.min.js similarity index 100% rename from sigal/themes/galleria/static/plugins/history/galleria.history.min.js rename to src/sigal/themes/galleria/static/plugins/history/galleria.history.min.js diff --git a/sigal/themes/galleria/static/themes/azur/galleria.azur.css b/src/sigal/themes/galleria/static/themes/azur/galleria.azur.css similarity index 100% rename from sigal/themes/galleria/static/themes/azur/galleria.azur.css rename to src/sigal/themes/galleria/static/themes/azur/galleria.azur.css diff --git a/sigal/themes/galleria/static/themes/azur/galleria.azur.js b/src/sigal/themes/galleria/static/themes/azur/galleria.azur.js similarity index 100% rename from sigal/themes/galleria/static/themes/azur/galleria.azur.js rename to src/sigal/themes/galleria/static/themes/azur/galleria.azur.js diff --git a/sigal/themes/galleria/static/themes/azur/galleria.azur.min.css b/src/sigal/themes/galleria/static/themes/azur/galleria.azur.min.css similarity index 100% rename from sigal/themes/galleria/static/themes/azur/galleria.azur.min.css rename to src/sigal/themes/galleria/static/themes/azur/galleria.azur.min.css diff --git a/sigal/themes/galleria/static/themes/azur/galleria.azur.min.js b/src/sigal/themes/galleria/static/themes/azur/galleria.azur.min.js similarity index 100% rename from sigal/themes/galleria/static/themes/azur/galleria.azur.min.js rename to src/sigal/themes/galleria/static/themes/azur/galleria.azur.min.js diff --git a/sigal/themes/galleria/static/themes/classic/galleria.classic.css b/src/sigal/themes/galleria/static/themes/classic/galleria.classic.css similarity index 100% rename from sigal/themes/galleria/static/themes/classic/galleria.classic.css rename to src/sigal/themes/galleria/static/themes/classic/galleria.classic.css diff --git a/sigal/themes/galleria/static/themes/classic/galleria.classic.js b/src/sigal/themes/galleria/static/themes/classic/galleria.classic.js similarity index 100% rename from sigal/themes/galleria/static/themes/classic/galleria.classic.js rename to src/sigal/themes/galleria/static/themes/classic/galleria.classic.js diff --git a/sigal/themes/galleria/static/themes/classic/galleria.classic.min.css b/src/sigal/themes/galleria/static/themes/classic/galleria.classic.min.css similarity index 100% rename from sigal/themes/galleria/static/themes/classic/galleria.classic.min.css rename to src/sigal/themes/galleria/static/themes/classic/galleria.classic.min.css diff --git a/sigal/themes/galleria/static/themes/classic/galleria.classic.min.js b/src/sigal/themes/galleria/static/themes/classic/galleria.classic.min.js similarity index 100% rename from sigal/themes/galleria/static/themes/classic/galleria.classic.min.js rename to src/sigal/themes/galleria/static/themes/classic/galleria.classic.min.js diff --git a/sigal/themes/galleria/static/themes/folio/galleria.folio.css b/src/sigal/themes/galleria/static/themes/folio/galleria.folio.css similarity index 100% rename from sigal/themes/galleria/static/themes/folio/galleria.folio.css rename to src/sigal/themes/galleria/static/themes/folio/galleria.folio.css diff --git a/sigal/themes/galleria/static/themes/folio/galleria.folio.js b/src/sigal/themes/galleria/static/themes/folio/galleria.folio.js similarity index 100% rename from sigal/themes/galleria/static/themes/folio/galleria.folio.js rename to src/sigal/themes/galleria/static/themes/folio/galleria.folio.js diff --git a/sigal/themes/galleria/static/themes/folio/galleria.folio.min.css b/src/sigal/themes/galleria/static/themes/folio/galleria.folio.min.css similarity index 100% rename from sigal/themes/galleria/static/themes/folio/galleria.folio.min.css rename to src/sigal/themes/galleria/static/themes/folio/galleria.folio.min.css diff --git a/sigal/themes/galleria/static/themes/folio/galleria.folio.min.js b/src/sigal/themes/galleria/static/themes/folio/galleria.folio.min.js similarity index 100% rename from sigal/themes/galleria/static/themes/folio/galleria.folio.min.js rename to src/sigal/themes/galleria/static/themes/folio/galleria.folio.min.js diff --git a/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.css b/src/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.css similarity index 100% rename from sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.css rename to src/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.css diff --git a/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.js b/src/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.js similarity index 100% rename from sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.js rename to src/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.js diff --git a/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.min.css b/src/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.min.css similarity index 100% rename from sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.min.css rename to src/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.min.css diff --git a/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.min.js b/src/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.min.js similarity index 100% rename from sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.min.js rename to src/sigal/themes/galleria/static/themes/fullscreen/galleria.fullscreen.min.js diff --git a/sigal/themes/galleria/static/themes/fullscreen/index.html b/src/sigal/themes/galleria/static/themes/fullscreen/index.html similarity index 100% rename from sigal/themes/galleria/static/themes/fullscreen/index.html rename to src/sigal/themes/galleria/static/themes/fullscreen/index.html diff --git a/sigal/themes/galleria/static/themes/miniml/galleria.miniml.css b/src/sigal/themes/galleria/static/themes/miniml/galleria.miniml.css similarity index 100% rename from sigal/themes/galleria/static/themes/miniml/galleria.miniml.css rename to src/sigal/themes/galleria/static/themes/miniml/galleria.miniml.css diff --git a/sigal/themes/galleria/static/themes/miniml/galleria.miniml.js b/src/sigal/themes/galleria/static/themes/miniml/galleria.miniml.js similarity index 100% rename from sigal/themes/galleria/static/themes/miniml/galleria.miniml.js rename to src/sigal/themes/galleria/static/themes/miniml/galleria.miniml.js diff --git a/sigal/themes/galleria/static/themes/miniml/galleria.miniml.min.css b/src/sigal/themes/galleria/static/themes/miniml/galleria.miniml.min.css similarity index 100% rename from sigal/themes/galleria/static/themes/miniml/galleria.miniml.min.css rename to src/sigal/themes/galleria/static/themes/miniml/galleria.miniml.min.css diff --git a/sigal/themes/galleria/static/themes/miniml/galleria.miniml.min.js b/src/sigal/themes/galleria/static/themes/miniml/galleria.miniml.min.js similarity index 100% rename from sigal/themes/galleria/static/themes/miniml/galleria.miniml.min.js rename to src/sigal/themes/galleria/static/themes/miniml/galleria.miniml.min.js diff --git a/sigal/themes/galleria/static/themes/twelve/galleria.twelve.css b/src/sigal/themes/galleria/static/themes/twelve/galleria.twelve.css similarity index 100% rename from sigal/themes/galleria/static/themes/twelve/galleria.twelve.css rename to src/sigal/themes/galleria/static/themes/twelve/galleria.twelve.css diff --git a/sigal/themes/galleria/static/themes/twelve/galleria.twelve.js b/src/sigal/themes/galleria/static/themes/twelve/galleria.twelve.js similarity index 100% rename from sigal/themes/galleria/static/themes/twelve/galleria.twelve.js rename to src/sigal/themes/galleria/static/themes/twelve/galleria.twelve.js diff --git a/sigal/themes/galleria/static/themes/twelve/galleria.twelve.min.css b/src/sigal/themes/galleria/static/themes/twelve/galleria.twelve.min.css similarity index 100% rename from sigal/themes/galleria/static/themes/twelve/galleria.twelve.min.css rename to src/sigal/themes/galleria/static/themes/twelve/galleria.twelve.min.css diff --git a/sigal/themes/galleria/static/themes/twelve/galleria.twelve.min.js b/src/sigal/themes/galleria/static/themes/twelve/galleria.twelve.min.js similarity index 100% rename from sigal/themes/galleria/static/themes/twelve/galleria.twelve.min.js rename to src/sigal/themes/galleria/static/themes/twelve/galleria.twelve.min.js diff --git a/sigal/themes/galleria/templates/album.html b/src/sigal/themes/galleria/templates/album.html similarity index 100% rename from sigal/themes/galleria/templates/album.html rename to src/sigal/themes/galleria/templates/album.html diff --git a/sigal/themes/galleria/templates/album_items.html b/src/sigal/themes/galleria/templates/album_items.html similarity index 100% rename from sigal/themes/galleria/templates/album_items.html rename to src/sigal/themes/galleria/templates/album_items.html diff --git a/sigal/themes/galleria/templates/album_list.html b/src/sigal/themes/galleria/templates/album_list.html similarity index 100% rename from sigal/themes/galleria/templates/album_list.html rename to src/sigal/themes/galleria/templates/album_list.html diff --git a/sigal/themes/galleria/templates/base.html b/src/sigal/themes/galleria/templates/base.html similarity index 100% rename from sigal/themes/galleria/templates/base.html rename to src/sigal/themes/galleria/templates/base.html diff --git a/sigal/themes/photoswipe/static/app.js b/src/sigal/themes/photoswipe/static/app.js similarity index 100% rename from sigal/themes/photoswipe/static/app.js rename to src/sigal/themes/photoswipe/static/app.js diff --git a/sigal/themes/photoswipe/static/default-skin/default-skin.css b/src/sigal/themes/photoswipe/static/default-skin/default-skin.css similarity index 100% rename from sigal/themes/photoswipe/static/default-skin/default-skin.css rename to src/sigal/themes/photoswipe/static/default-skin/default-skin.css diff --git a/sigal/themes/photoswipe/static/default-skin/default-skin.css.map b/src/sigal/themes/photoswipe/static/default-skin/default-skin.css.map similarity index 100% rename from sigal/themes/photoswipe/static/default-skin/default-skin.css.map rename to src/sigal/themes/photoswipe/static/default-skin/default-skin.css.map diff --git a/sigal/themes/photoswipe/static/default-skin/default-skin.png b/src/sigal/themes/photoswipe/static/default-skin/default-skin.png similarity index 100% rename from sigal/themes/photoswipe/static/default-skin/default-skin.png rename to src/sigal/themes/photoswipe/static/default-skin/default-skin.png diff --git a/sigal/themes/photoswipe/static/default-skin/default-skin.svg b/src/sigal/themes/photoswipe/static/default-skin/default-skin.svg similarity index 100% rename from sigal/themes/photoswipe/static/default-skin/default-skin.svg rename to src/sigal/themes/photoswipe/static/default-skin/default-skin.svg diff --git a/sigal/themes/photoswipe/static/default-skin/preloader.gif b/src/sigal/themes/photoswipe/static/default-skin/preloader.gif similarity index 100% rename from sigal/themes/photoswipe/static/default-skin/preloader.gif rename to src/sigal/themes/photoswipe/static/default-skin/preloader.gif diff --git a/sigal/themes/photoswipe/static/echo/blank.gif b/src/sigal/themes/photoswipe/static/echo/blank.gif similarity index 100% rename from sigal/themes/photoswipe/static/echo/blank.gif rename to src/sigal/themes/photoswipe/static/echo/blank.gif diff --git a/sigal/themes/photoswipe/static/echo/echo.js b/src/sigal/themes/photoswipe/static/echo/echo.js similarity index 100% rename from sigal/themes/photoswipe/static/echo/echo.js rename to src/sigal/themes/photoswipe/static/echo/echo.js diff --git a/sigal/themes/photoswipe/static/echo/echo.min.js b/src/sigal/themes/photoswipe/static/echo/echo.min.js similarity index 100% rename from sigal/themes/photoswipe/static/echo/echo.min.js rename to src/sigal/themes/photoswipe/static/echo/echo.min.js diff --git a/sigal/themes/photoswipe/static/photoswipe-ui-default.js b/src/sigal/themes/photoswipe/static/photoswipe-ui-default.js similarity index 100% rename from sigal/themes/photoswipe/static/photoswipe-ui-default.js rename to src/sigal/themes/photoswipe/static/photoswipe-ui-default.js diff --git a/sigal/themes/photoswipe/static/photoswipe-ui-default.min.js b/src/sigal/themes/photoswipe/static/photoswipe-ui-default.min.js similarity index 100% rename from sigal/themes/photoswipe/static/photoswipe-ui-default.min.js rename to src/sigal/themes/photoswipe/static/photoswipe-ui-default.min.js diff --git a/sigal/themes/photoswipe/static/photoswipe.css b/src/sigal/themes/photoswipe/static/photoswipe.css similarity index 100% rename from sigal/themes/photoswipe/static/photoswipe.css rename to src/sigal/themes/photoswipe/static/photoswipe.css diff --git a/sigal/themes/photoswipe/static/photoswipe.css.map b/src/sigal/themes/photoswipe/static/photoswipe.css.map similarity index 100% rename from sigal/themes/photoswipe/static/photoswipe.css.map rename to src/sigal/themes/photoswipe/static/photoswipe.css.map diff --git a/sigal/themes/photoswipe/static/photoswipe.js b/src/sigal/themes/photoswipe/static/photoswipe.js similarity index 100% rename from sigal/themes/photoswipe/static/photoswipe.js rename to src/sigal/themes/photoswipe/static/photoswipe.js diff --git a/sigal/themes/photoswipe/static/photoswipe.min.js b/src/sigal/themes/photoswipe/static/photoswipe.min.js similarity index 100% rename from sigal/themes/photoswipe/static/photoswipe.min.js rename to src/sigal/themes/photoswipe/static/photoswipe.min.js diff --git a/sigal/themes/photoswipe/static/styles.css b/src/sigal/themes/photoswipe/static/styles.css similarity index 100% rename from sigal/themes/photoswipe/static/styles.css rename to src/sigal/themes/photoswipe/static/styles.css diff --git a/sigal/themes/photoswipe/templates/album.html b/src/sigal/themes/photoswipe/templates/album.html similarity index 100% rename from sigal/themes/photoswipe/templates/album.html rename to src/sigal/themes/photoswipe/templates/album.html diff --git a/sigal/themes/photoswipe/templates/album_list.html b/src/sigal/themes/photoswipe/templates/album_list.html similarity index 100% rename from sigal/themes/photoswipe/templates/album_list.html rename to src/sigal/themes/photoswipe/templates/album_list.html diff --git a/sigal/themes/photoswipe/templates/base.html b/src/sigal/themes/photoswipe/templates/base.html similarity index 100% rename from sigal/themes/photoswipe/templates/base.html rename to src/sigal/themes/photoswipe/templates/base.html diff --git a/sigal/utils.py b/src/sigal/utils.py similarity index 100% rename from sigal/utils.py rename to src/sigal/utils.py diff --git a/sigal/video.py b/src/sigal/video.py similarity index 100% rename from sigal/video.py rename to src/sigal/video.py diff --git a/sigal/writer.py b/src/sigal/writer.py similarity index 100% rename from sigal/writer.py rename to src/sigal/writer.py