@@ -43,9 +43,6 @@ def walk_subpkg(name):
43
43
'folium.plugins'
44
44
]
45
45
46
- LICENSE = read ('LICENSE.txt' )
47
- long_description = '{}\n {}' .format (read ('README.rst' ), read ('CHANGES.txt' ))
48
-
49
46
# Dependencies.
50
47
with open ('requirements.txt' ) as f :
51
48
tests_require = f .readlines ()
@@ -55,7 +52,9 @@ def walk_subpkg(name):
55
52
name = 'folium' ,
56
53
version = versioneer .get_version (),
57
54
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" ,
59
58
author = 'Rob Story' ,
60
59
author_email = 'wrobstory@gmail.com' ,
61
60
url = 'https://github.com/python-visualization/folium' ,
@@ -69,11 +68,12 @@ def walk_subpkg(name):
69
68
'Topic :: Scientific/Engineering :: GIS' ,
70
69
'Topic :: Scientific/Engineering :: Visualization' ,
71
70
'License :: OSI Approved :: MIT License' ,
72
- 'Development Status :: 5 - Production/Stable' ],
71
+ 'Development Status :: 5 - Production/Stable'
72
+ ],
73
+ platforms = "any" ,
73
74
packages = packages ,
74
75
package_data = package_data ,
75
- tests_require = ['pytest' ],
76
- license = LICENSE ,
76
+ extras_require = {"testing" : ["pytest" ]},
77
77
install_requires = install_requires ,
78
78
zip_safe = False ,
79
79
cmdclass = versioneer .get_cmdclass (),
0 commit comments