Skip to content

Commit 4f2ebf2

Browse files
committed
unecessary with min python requirement
1 parent abf8475 commit 4f2ebf2

1 file changed

Lines changed: 0 additions & 18 deletions

File tree

setup.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,9 @@
11
import os
2-
import sys
32

43
from setuptools import setup
54

65
rootpath = os.path.abspath(os.path.dirname(__file__))
76

8-
if sys.version_info < (3, 5):
9-
error = """
10-
folium 0.9+ supports Python 3.5 and above.
11-
When using Python 2.7, please install folium 0.8.*.
12-
13-
See folium `README.rst` file for more information:
14-
15-
https://github.com/python-visualization/folium/blob/main/README.rst
16-
17-
Python {py} detected.
18-
19-
Try upgrading pip and retry.
20-
""".format(
21-
py=".".join([str(v) for v in sys.version_info[:3]])
22-
)
23-
print(error, file=sys.stderr)
24-
sys.exit(1)
257

268

279
def read(*parts):

0 commit comments

Comments
 (0)