Skip to content

Commit abf8475

Browse files
committed
fix lint and we don't need this b/c of min py requirement in setup.py
1 parent 909b863 commit abf8475

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

folium/__init__.py

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import sys
21

32
import branca
43
from branca.colormap import ColorMap, LinearColormap, StepColormap
@@ -59,28 +58,6 @@
5958
)
6059

6160

62-
if sys.version_info < (3, 0):
63-
raise ImportError(
64-
"""You are running folium {} on Python 2
65-
66-
folium 0.9 and above are no longer compatible with Python 2, but somehow
67-
you got this version anyway. Make sure you have pip >= 9.0 to avoid this
68-
kind of issue, as well as setuptools >= 24.2:
69-
70-
$ pip install pip setuptools --upgrade
71-
72-
Your choices:
73-
74-
- Upgrade to Python 3.
75-
76-
- Install an older version of folium:
77-
78-
$ pip install 'folium<0.9.0'
79-
80-
""".format(
81-
__version__
82-
)
83-
) # noqa
8461

8562
__all__ = [
8663
"Choropleth",

0 commit comments

Comments
 (0)