@@ -43,9 +43,6 @@ def walk_subpkg(name):
4343 'folium.plugins'
4444]
4545
46- LICENSE = read ('LICENSE.txt' )
47- long_description = '{}\n {}' .format (read ('README.rst' ), read ('CHANGES.txt' ))
48-
4946# Dependencies.
5047with open ('requirements.txt' ) as f :
5148 tests_require = f .readlines ()
@@ -55,7 +52,9 @@ def walk_subpkg(name):
5552 name = 'folium' ,
5653 version = versioneer .get_version (),
5754 description = 'Make beautiful maps with Leaflet.js & Python' ,
58- long_description = long_description ,
55+ license = "MIT" ,
56+ long_description = '{}' .format (read ("README.rst" )),
57+ long_description_content_type = "text/x-rst" ,
5958 author = 'Rob Story' ,
60596160 url = 'https://github.com/python-visualization/folium' ,
@@ -69,11 +68,12 @@ def walk_subpkg(name):
6968 'Topic :: Scientific/Engineering :: GIS' ,
7069 'Topic :: Scientific/Engineering :: Visualization' ,
7170 'License :: OSI Approved :: MIT License' ,
72- 'Development Status :: 5 - Production/Stable' ],
71+ 'Development Status :: 5 - Production/Stable'
72+ ],
73+ platforms = "any" ,
7374 packages = packages ,
7475 package_data = package_data ,
75- tests_require = ['pytest' ],
76- license = LICENSE ,
76+ extras_require = {"testing" : ["pytest" ]},
7777 install_requires = install_requires ,
7878 zip_safe = False ,
7979 cmdclass = versioneer .get_cmdclass (),
0 commit comments