Skip to content

Commit ec67e96

Browse files
jakevdpjonmmease
authored andcommitted
Fix package listing in setup.py (#1543)
Convert '/' -> '.'
1 parent 8bcf6c8 commit ec67e96

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

setup.py

+18-18
Original file line numberDiff line numberDiff line change
@@ -377,12 +377,12 @@ def run(self):
377377

378378

379379
graph_objs_packages = [
380-
d[0] for d in os.walk('plotly/graph_objs')
380+
d[0].replace('/', '.') for d in os.walk('plotly/graph_objs')
381381
if not d[0].endswith('__pycache__')]
382382

383383

384384
validator_packages = [
385-
d[0] for d in os.walk('plotly/validators')
385+
d[0].replace('/', '.') for d in os.walk('plotly/validators')
386386
if not d[0].endswith('__pycache__')]
387387

388388
versioneer_cmds = versioneer.get_cmdclass()
@@ -413,23 +413,23 @@ def run(self):
413413
license='MIT',
414414
packages=['plotly',
415415
'plotlywidget',
416-
'plotly/plotly',
417-
'plotly/figure_factory',
418-
'plotly/offline',
419-
'plotly/io',
420-
'plotly/matplotlylib',
421-
'plotly/matplotlylib/mplexporter',
422-
'plotly/matplotlylib/mplexporter/renderers',
416+
'plotly.plotly',
417+
'plotly.figure_factory',
418+
'plotly.offline',
419+
'plotly.io',
420+
'plotly.matplotlylib',
421+
'plotly.matplotlylib.mplexporter',
422+
'plotly.matplotlylib.mplexporter.renderers',
423423
'chart_studio',
424-
'chart_studio/api',
425-
'chart_studio/api/v1',
426-
'chart_studio/api/v2',
427-
'chart_studio/dashboard_objs',
428-
'chart_studio/grid_objs',
429-
'chart_studio/plotly',
430-
'chart_studio/plotly/chunked_requests',
431-
'chart_studio/presentation_objs',
432-
'chart_studio/widgets',
424+
'chart_studio.api',
425+
'chart_studio.api.v1',
426+
'chart_studio.api.v2',
427+
'chart_studio.dashboard_objs',
428+
'chart_studio.grid_objs',
429+
'chart_studio.plotly',
430+
'chart_studio.plotly.chunked_requests',
431+
'chart_studio.presentation_objs',
432+
'chart_studio.widgets',
433433
'_plotly_utils',
434434
'_plotly_future_',
435435
] + graph_objs_packages + validator_packages,

0 commit comments

Comments
 (0)