Commit Graph

17 Commits

Author SHA1 Message Date
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
4c48498b98 Remove pin for Pillow 10 2023-09-29 08:23:41 +02:00
Simon Conseil
df525a1743 Move cli handling to __main__ 2023-07-15 13:05:55 +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
401f40beb2 Replace isort and pyupgrade with ruff 2023-06-03 17:40:32 +02:00
Simon Conseil
eec4c3fd02 Remove MANIFEST.in, not needed with setuptools_scm 2023-02-14 23:05:43 +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
Simon Conseil
66bd01106b Normalize strings 2023-02-14 22:17:13 +01:00
Simon Conseil
0d70f3a1d0 Update pre-commit 2022-12-11 18:05:41 +01:00
Simon Conseil
2c34776dd6 Switch to src layout 2022-08-15 18:51:39 +02:00
Simon Conseil
ae266f79e0 Remove setup.py 2022-08-15 17:16:35 +02:00
Simon Conseil
604b2f9a48 Update and run pre-commit 2022-08-15 17:13:17 +02:00
Simon Conseil
a9b69d3ad6 Remove custom copytree 2022-01-14 18:25:38 +01:00
Simon Conseil
67689730a6 Use black 2021-07-07 00:15:20 +02:00
Simon Conseil
709ab67348 Migrate to PEP517 2020-10-11 22:01:25 -03:00