Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# -*- coding: utf-8 -*-
import io
from setuptools import setup, find_packages
from geonamescache import __version__
# Use io.open to be able to set encoding to utf-8.
with io.open('README.rst', encoding='utf-8') as f:
readme = f.read()
setup(
name='geonamescache',
version=__version__,
description='Geonames data for continents, cities and US states.',
long_description=readme,
author='Ramiro Gómez',
author_email='code@ramiro.org',
url='https://github.com/yaph/geonamescache',
license='MIT',
packages=find_packages(exclude=('tests', 'data', 'scripts')),
package_data={'': ['LICENSE']},
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',