From 553f31212597ca9b7b2f2b8540e13d00b44e5365 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Fri, 26 Apr 2019 18:32:02 -0400 Subject: [PATCH] properly graft config and templates into pip package --- MANIFEST.in | 10 ++++++++-- setup.py | 13 ++++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index e82bd579..22f8e7d9 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,9 @@ include archivebox/VERSION -graft archivebox/templates -graft archivebox/templates/static +include archivebox/legacy/ArchiveBox.conf +graft archivebox/themes +graft archivebox/themes/static +graft archivebox/themes/admin +graft archivebox/themes/default +graft archivebox/themes/default/static +graft archivebox/legacy/templates +graft archivebox/legacy/templates/static diff --git a/setup.py b/setup.py index 685e9003..296f72d7 100644 --- a/setup.py +++ b/setup.py @@ -59,7 +59,18 @@ setuptools.setup( ], }, package_data={ - 'archivebox': ['VERSION', 'templates/*', 'templates/static/*'], + 'archivebox': [ + # Manifest.ini must correspond 1:1 with this list + 'VERSION', + 'themes/*', + 'themes/static/*', + 'themes/admin/*' + 'themes/default/*' + 'themes/default/static/*' + 'legacy/templates/*', + 'legacy/templates/static/*', + 'legacy/ArchiveBox.conf', + ], }, classifiers=[ "Development Status :: 4 - Beta",