Quellcode durchsuchen

switch to pure Manifest-based package includes

Nick Sweeting vor 6 Jahren
Ursprung
Commit
d398bd59b0
2 geänderte Dateien mit 3 neuen und 20 gelöschten Zeilen
  1. 2 7
      MANIFEST.in
  2. 1 13
      setup.py

+ 2 - 7
MANIFEST.in

@@ -1,9 +1,4 @@
 include LICENSE
 include LICENSE
+include README.md
 include archivebox/VERSION
 include archivebox/VERSION
-graft archivebox/themes
-graft archivebox/themes/static
-graft archivebox/themes/admin
-graft archivebox/themes/default
-graft archivebox/themes/default/static
-graft archivebox/themes/legacy
-graft archivebox/themes/legacy/static
+recursive-include archivebox/themes *

+ 1 - 13
setup.py

@@ -55,19 +55,7 @@ setuptools.setup(
             'archivebox = archivebox.__main__:main',
             'archivebox = archivebox.__main__:main',
         ],
         ],
     },
     },
-    package_data={
-        'archivebox': [
-            # Manifest.ini must correspond 1:1 with this list
-            'VERSION',
-            'themes/*',
-            'themes/static/*',
-            'themes/admin/*'
-            'themes/default/*'
-            'themes/default/static/*'
-            'themes/legacy/*',
-            'themes/legacy/static/*',
-        ],
-    },
+    include_package_data=True,
     classifiers=[
     classifiers=[
         "Development Status :: 4 - Beta",
         "Development Status :: 4 - Beta",