1
0
Fork 0

properly graft config and templates into pip package

This commit is contained in:
Nick Sweeting 2019-04-26 18:32:02 -04:00
parent c43a0e58df
commit 553f312125
2 changed files with 20 additions and 3 deletions

View File

@ -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

View File

@ -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",