Commit Graph

1376 Commits

Author SHA1 Message Date
David Schultz
892cb267ed try using a class method instead 2024-02-22 11:42:27 -06:00
David Schultz
a148592a2f only write the static files once 2024-02-19 18:17:26 -06:00
Simon Conseil
27e10d4b00 Merge pull request #507 from dsschult/sort_signed
Allow sorting by negative numbers
2024-01-18 19:31:41 +01:00
Simon Conseil
bdbefe1b7d Merge pull request #509 from Lixeiden/keep-orig-comment
Clarify default value of keep_orig in config comments
2024-01-18 19:30:17 +01:00
Lixeiden
8f26b30c62 Clarify default value of keep_orig in config comments 2024-01-18 16:13:00 +02:00
David Schultz
1c2cb066d5 also test album sorting with negative numbers 2024-01-12 12:31:37 -06:00
David Schultz
63c5b1e0f9 allow sorting negative numbers correctly 2024-01-12 12:23:23 -06:00
Simon Conseil
c985ccac68 Merge pull request #506 from dsschult/cache_input_size
Cache input_size to make updating faster
2024-01-12 18:26:20 +01:00
David Schultz
371a4618f2 cache input size to make updating faster 2024-01-10 15:53:49 -06:00
Simon Conseil
943d77c04f Update README 2023-11-08 23:34:21 +01:00
Simon Conseil
b853f3e7b2 Require Python 3.9, run tests with 3.12 2023-11-08 23:30:39 +01:00
Simon Conseil
be12c37dd7 Change doc theme 2023-11-08 23:24:40 +01:00
Simon Conseil
7839e90c05 Update RTD config 2023-11-08 22:36:48 +01:00
Simon Conseil
6abcf10e2c Merge pull request #503 from dvzrv/dvzrv/theme_files
Add data files for themes and plugins using setuptools package-data
2023-11-08 22:28:32 +01:00
David Runge
ebedd9f0cc Add data files for themes and plugins using setuptools package-data
Use setuptools' `package-data` [1] to unconditionally add all files
below sigal's `themes/` dir and all data files below the
`plugins/encrypt/static/` dir to a wheel.
This works without any SCM integration and without `MANIFEST.in`.

Fixes https://github.com/saimn/sigal/issues/500

[1] https://setuptools.pypa.io/en/latest/userguide/datafiles.html#package-data

Signed-off-by: David Runge <dave@sleepmap.de>
2023-10-27 10:24:21 +02:00
Simon Conseil
6bd9cd348a Back to dev 2023-09-29 09:06:18 +02:00
Simon Conseil
6fe5b97202 Update AUTHORS 2023-09-29 08:59:01 +02:00
Simon Conseil
6ac2ec9e56 Update changelog 2023-09-29 08:49:07 +02:00
Simon Conseil
b49f697271 Merge pull request #499 from saimn/pillow
Remove pin for Pillow 10
2023-09-29 08:28:42 +02:00
Simon Conseil
cb5ce6e8e8 Update pre-commit 2023-09-29 08:24:57 +02:00
Simon Conseil
4c48498b98 Remove pin for Pillow 10 2023-09-29 08:23:41 +02:00
Simon Conseil
69bd554f83 Merge pull request #498 from jraby/IndexError-on-empty-source-dir
Avoid IndexError with empty source dir
2023-09-07 08:38:29 +02:00
Jean Raby
b8815bd8cf Avoid IndexError with empty source dir 2023-09-06 21:13:05 -04:00
Simon Conseil
c15d543fd0 Update Python requirement in README 2023-08-30 21:55:50 +02:00
Simon Conseil
8481f20d0f Fix logger initialization 2023-07-30 22:58:10 +02:00
Simon Conseil
33ab4f53ea Better handling of verbosity/progress 2023-07-30 22:54:23 +02:00
Simon Conseil
6997fe3290 Optimize slow tests 2023-07-15 17:07:07 +02:00
Simon Conseil
848fcaa853 Optimize plugins testing without building the full test gallery 2023-07-15 16:35:37 +02:00
Simon Conseil
3cf4f0979a Use pillow's context manager 2023-07-15 15:30:28 +02:00
Simon Conseil
de597c576c Remove compat code for old versions of Pillow 2023-07-15 13:25:34 +02:00
Simon Conseil
df525a1743 Move cli handling to __main__ 2023-07-15 13:05:55 +02:00
Simon Conseil
1ce2206601 Update copyright 2023-07-15 12:24:54 +02:00
Simon Conseil
6ead91b4b7 Use wheels within tox 2023-07-07 12:41:36 +02:00
Simon Conseil
2dc1e556b0 Merge pull request #491 from KaibutsuX/supportAlbumForce
Added support for -a, --force-album argument
2023-07-05 21:54:59 +02:00
Sean Grider
81c0d81e80 Fixed my tests and changes 2023-07-05 14:11:23 -04:00
Sean Grider
f0f224f8c0 Added tests, better naming, address comments 2023-07-05 14:11:23 -04:00
Sean Grider
384affd891 Fix typo 2023-07-05 14:11:23 -04:00
Sean Grider
46ca38d5a4 Added support for -a, --force-album argument
Like --force, but can specify multiple specific album names or wildcard
patterns to apply to entire album paths like:
-a Pics/*
-a *Wedding*
-a 'Landscape Photos'
2023-07-05 14:11:23 -04:00
Simon Conseil
b45d018cea Remove uses of pkg_resources 2023-07-05 19:13:58 +02:00
Simon Conseil
8e364692ee Set maximum version for Pillow
pilkit is not compatible with Pillow 10.0.0
2023-07-05 19:00:31 +02:00
Simon Conseil
ec36725cdc Simplify coverage.source 2023-07-05 18:44:00 +02:00
Simon Conseil
4cc7f5f4d2 Update changelog 2023-06-03 17:57:09 +02:00
Simon Conseil
401f40beb2 Replace isort and pyupgrade with ruff 2023-06-03 17:40:32 +02:00
Simon Conseil
5f61164f94 Merge pull request #492 from saimn/tox
Try to fix issue with tox-gh-actions
2023-06-03 16:53:38 +02:00
Simon Conseil
6dc3dd0796 Try to fix issue with tox-gh-actions
py310-pillow-latest: tox-gh-actions couldn't understand the parallel
option. ignoring the given option: 0
2023-06-03 16:46:44 +02:00
Simon Conseil
0923a56a56 Replace example ogv file to avoid issues with ffmpeg 2023-04-20 20:07:12 +02:00
Simon Conseil
eec4c3fd02 Remove MANIFEST.in, not needed with setuptools_scm 2023-02-14 23:05:43 +01:00
Simon Conseil
7fe68fc729 Remmove unneeded file 2023-02-14 22:37:46 +01:00
Simon Conseil
33b6bafbde Use ruff 2023-02-14 22:17:13 +01:00
Simon Conseil
8e72326510 Move setuptools config to pyproject 2023-02-14 22:17:13 +01:00