Skip to content

Commit f7b15c1

Browse files
committed
fixes plotly#156
rename package-info.json back to package.json; look for package.json in package dir
1 parent 81714a0 commit f7b15c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dash_cytoscape/package-info.json renamed to dash_cytoscape/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"build:js-dev-extra": "webpack --config webpack.dev.extra.config.js",
2222
"build:js-extra": "webpack --config webpack.prod.extra.config.js",
2323
"build:js-all": "npm run build:js && npm run build:js-dev && npm run build:js-dev-extra && npm run build:js-extra",
24-
"build:backends": "dash-generate-components ./src/lib/components dash_cytoscape -p package-info.json --r-prefix 'cyto' --jl-prefix 'cyto'",
24+
"build:backends": "dash-generate-components ./src/lib/components dash_cytoscape --r-prefix 'cyto' --jl-prefix 'cyto'",
2525
"build:all": "npm run build:js-all && npm run build:backends",
2626
"build:all-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:all)"
2727
},

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"build:js-dev-extra": "webpack --config webpack.dev.extra.config.js",
2222
"build:js-extra": "webpack --config webpack.prod.extra.config.js",
2323
"build:js-all": "npm run build:js && npm run build:js-dev && npm run build:js-dev-extra && npm run build:js-extra",
24-
"build:backends": "dash-generate-components ./src/lib/components dash_cytoscape -p package-info.json --r-prefix 'cyto' --jl-prefix 'cyto'",
24+
"build:backends": "dash-generate-components ./src/lib/components dash_cytoscape --r-prefix 'cyto' --jl-prefix 'cyto'",
2525
"build:all": "npm run build:js-all && npm run build:backends",
2626
"build:all-activated": "(. venv/bin/activate || venv\\scripts\\activate && npm run build:all)"
2727
},

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from setuptools import setup, find_packages
55

66

7-
with open('package.json') as f:
7+
with open(os.path.join('dash_cytoscape', 'package.json')) as f:
88
package = json.load(f)
99

1010
package_name = package["name"].replace(" ", "_").replace("-", "_")

0 commit comments

Comments
 (0)