Browse Source

Update dist inclusion data

Steven Silvester 8 years ago
parent
commit
33050db460
2 changed files with 4 additions and 2 deletions
  1. 1 1
      MANIFEST.in
  2. 3 1
      setupbase.py

+ 1 - 1
MANIFEST.in

@@ -7,7 +7,7 @@ include README.md
 include package.json
 include setupbase.py
 
-include jupyterlab/package.json
+include jupyterlab/package.template.json
 include jupyterlab/webpack.config.js
 include jupyterlab/index.template.js
 

+ 3 - 1
setupbase.py

@@ -64,13 +64,15 @@ def find_package_data():
     Find package_data.
     """
     return {
-        'jupyterlab': ['build/*', 'lab.html', 'package.json', 'index.template.js', 'webpack.config.js']
+        'jupyterlab': ['build/*', 'index.template.js', 'webpack.config.js',
+                       'package.template.json']
     }
 
 
 def js_prerelease(command, strict=False):
     """decorator for building minified js/css prior to another command"""
     class DecoratedCommand(command):
+
         def run(self):
             jsdeps = self.distribution.get_command_obj('jsdeps')
             if not is_repo and all(os.path.exists(t) for t in jsdeps.targets):