From 18579ed0a6a5fae98e57a114ee77560d70e185ab Mon Sep 17 00:00:00 2001 From: "Jason K. Moore" Date: Sun, 13 Oct 2019 12:12:48 -0700 Subject: [PATCH] Make sure to still include themes/. --- setup.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.py b/setup.py index 51f268ed..4979b22f 100755 --- a/setup.py +++ b/setup.py @@ -48,6 +48,13 @@ setup( long_description=description, packages=find_packages(), include_package_data=True, # includes all in MANIFEST.in if in package + # NOTE : This will collect any files that happen to be in the themes + # directory, even though they may not be checked into version control. + package_data={ # pelican/themes is not a package, so include manually + 'pelican': [relpath(join(root, name), 'pelican') + for root, _, names in walk(join('pelican', 'themes')) + for name in names], + }, install_requires=requires, extras_require={ 'Markdown': ['markdown~=3.1.1']