Skip to content

Commit

Permalink
Merge pull request #930 from ocefpaf/minor_cleanups
Browse files Browse the repository at this point in the history
Minor cleanups
  • Loading branch information
ocefpaf authored Aug 10, 2018
2 parents 05f8e81 + 9963b79 commit 05bf868
Showing 1 changed file with 20 additions and 17 deletions.
37 changes: 20 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,23 @@ def walk_subpkg(name):
return data_files


pkg_data = {'': ['*.js',
'plugins/*.js',
'plugins/*.html',
'plugins/*.css',
'plugins/*.tpl',
'templates/*.html',
'templates/*.js',
'templates/*.txt'] + walk_subpkg('templates/tiles')}
pkgs = ['folium',
'folium.plugins']
package_data = {
'': [
'*.js',
'plugins/*.js',
'plugins/*.html',
'plugins/*.css',
'plugins/*.tpl',
'templates/*.html',
'templates/*.js',
'templates/*.txt'
] + walk_subpkg('templates/tiles')
}

packages = [
'folium',
'folium.plugins'
]

LICENSE = read('LICENSE.txt')
long_description = '{}\n{}'.format(read('README.rst'), read('CHANGES.txt'))
Expand All @@ -44,8 +51,7 @@ def walk_subpkg(name):
tests_require = f.readlines()
install_requires = [t.strip() for t in tests_require]


config = dict(
setup(
name='folium',
version=versioneer.get_version(),
description='Make beautiful maps with Leaflet.js & Python',
Expand All @@ -63,14 +69,11 @@ def walk_subpkg(name):
'Topic :: Scientific/Engineering :: Visualization',
'License :: OSI Approved :: MIT License',
'Development Status :: 5 - Production/Stable'],
packages=pkgs,
package_data=pkg_data,
packages=packages,
package_data=package_data,
tests_require=['pytest'],
license=LICENSE,
install_requires=install_requires,
zip_safe=False,
cmdclass=versioneer.get_cmdclass(),
)


setup(**config)

0 comments on commit 05bf868

Please sign in to comment.