Skip to content

Commit

Permalink
Fix package listing in setup.py (#1543)
Browse files Browse the repository at this point in the history
Convert '/' -> '.'
  • Loading branch information
jakevdp authored and jonmmease committed May 2, 2019
1 parent 8bcf6c8 commit ec67e96
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,12 +377,12 @@ def run(self):


graph_objs_packages = [
d[0] for d in os.walk('plotly/graph_objs')
d[0].replace('/', '.') for d in os.walk('plotly/graph_objs')
if not d[0].endswith('__pycache__')]


validator_packages = [
d[0] for d in os.walk('plotly/validators')
d[0].replace('/', '.') for d in os.walk('plotly/validators')
if not d[0].endswith('__pycache__')]

versioneer_cmds = versioneer.get_cmdclass()
Expand Down Expand Up @@ -413,23 +413,23 @@ def run(self):
license='MIT',
packages=['plotly',
'plotlywidget',
'plotly/plotly',
'plotly/figure_factory',
'plotly/offline',
'plotly/io',
'plotly/matplotlylib',
'plotly/matplotlylib/mplexporter',
'plotly/matplotlylib/mplexporter/renderers',
'plotly.plotly',
'plotly.figure_factory',
'plotly.offline',
'plotly.io',
'plotly.matplotlylib',
'plotly.matplotlylib.mplexporter',
'plotly.matplotlylib.mplexporter.renderers',
'chart_studio',
'chart_studio/api',
'chart_studio/api/v1',
'chart_studio/api/v2',
'chart_studio/dashboard_objs',
'chart_studio/grid_objs',
'chart_studio/plotly',
'chart_studio/plotly/chunked_requests',
'chart_studio/presentation_objs',
'chart_studio/widgets',
'chart_studio.api',
'chart_studio.api.v1',
'chart_studio.api.v2',
'chart_studio.dashboard_objs',
'chart_studio.grid_objs',
'chart_studio.plotly',
'chart_studio.plotly.chunked_requests',
'chart_studio.presentation_objs',
'chart_studio.widgets',
'_plotly_utils',
'_plotly_future_',
] + graph_objs_packages + validator_packages,
Expand Down

0 comments on commit ec67e96

Please sign in to comment.