Skip to content

Commit d5370c1

Browse files
committed
Fix package
The package.json file and the .tgz should be included in the distribution. The package.json is needed by the setup.py for the js version, which was not the case before. And the .tgz file is needed for the JupyterLab extension installation. Signed-off-by: martinRenou <[email protected]>
1 parent 5dddc22 commit d5370c1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
recursive-include ipyleaflet/static *.*
22
include jupyter-leaflet.json
3+
include js/*tgz
4+
include js/package.json

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def run(self):
5555

5656

5757
def get_data_files():
58-
with open(os.path.join('js', 'package.json')) as f:
58+
with open(os.path.join(node_root, 'package.json')) as f:
5959
package_json = json.load(f)
6060
tgz = '%s-%s.tgz' % (package_json['name'], package_json['version'])
6161

0 commit comments

Comments
 (0)