properly graft config and templates into pip package
This commit is contained in:
parent
c43a0e58df
commit
553f312125
2 changed files with 20 additions and 3 deletions
10
MANIFEST.in
10
MANIFEST.in
|
@ -1,3 +1,9 @@
|
||||||
include archivebox/VERSION
|
include archivebox/VERSION
|
||||||
graft archivebox/templates
|
include archivebox/legacy/ArchiveBox.conf
|
||||||
graft archivebox/templates/static
|
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
|
||||||
|
|
13
setup.py
13
setup.py
|
@ -59,7 +59,18 @@ setuptools.setup(
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
package_data={
|
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=[
|
classifiers=[
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
|
|
Loading…
Add table
Reference in a new issue