Skip to content

Commit

Permalink
Add missing dependencies requests and ipython (#172)
Browse files Browse the repository at this point in the history
The file viz.py imports both requests and IPython, but these are not
declared in setup.py.  Because of this, after a `pip install mapboxgl`,
attempting to `import mapgoxgl.utils` fails.

This adds the packages to setup.py, and after this the import succeeds.
  • Loading branch information
jagill authored and ryanbaumann committed Nov 27, 2019
1 parent b66a693 commit 4409588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
'mapboxgl': ['templates/*']},
include_package_data=True,
zip_safe=False,
install_requires=['jinja2', 'geojson', 'chroma-py', 'colour', 'matplotlib'],
install_requires=['jinja2', 'geojson', 'chroma-py', 'colour', 'matplotlib', 'ipython', 'requests'],
extras_require={
'test': ['pytest>=3.6', 'pytest-cov', 'codecov', 'mock', 'jupyter', 'Sphinx', 'pandas']})

0 comments on commit 4409588

Please sign in to comment.