# Copyright 2016 Matthias Gazzari
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from setuptools import setup

def readme():
	with open('README.rst') as f:
		return f.read()

setup(
	name='instmatcher',
	version='0.1.0',
	description='A tool to match an affiliation string to a known institute',
	long_description=readme(),
	author='Matthias Gazzari',
	author_email='matthias.gazzar@cern.ch',
	url='https://github.com/qtux/instmatcher',
	license='Apache License 2.0',
	packages=['instmatcher',],
	package_data={'instmatcher': ['data/*.csv']},
	install_requires=['Whoosh>=2.7.4',],
	extras_require = {
		'grobidParse':['requests>=2.10.0', 'pycountry>=1.20',],
	},
	include_package_data=True,
	zip_safe=False,
	keywords='institute matching',
	classifiers=[
		'Development Status :: 1 - Planning',
		'License :: OSI Approved :: Apache Software License',
		'Intended Audience :: Developers',
		'Programming Language :: Python :: 3.5',
		'Topic :: Text Processing :: General',
		'Topic :: Software Development :: Libraries :: Python Modules',
	],
)

# Copyright 2016 Matthias Gazzari
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from setuptools import setup

def readme():
	with open('README.rst') as f:
		return f.read()

setup(
	name='instmatcher',
	version='0.1.0',
	description='A tool to match an affiliation string to a known institute',
	long_description=readme(),
	author='Matthias Gazzari',
	author_email='matthias.gazzar@cern.ch',
	url='https://github.com/qtux/instmatcher',
	license='Apache License 2.0',
	packages=['instmatcher',],
	package_data={'instmatcher': ['data/*.csv']},
	install_requires=['Whoosh>=2.7.4',],
	extras_require = {
		'grobidParse':['requests>=2.10.0', 'pycountry>=1.20',],
		'citycoordArea':['citycoord>=0.1.0',],
	},
	include_package_data=True,
	zip_safe=False,
	keywords='institute matching',
	classifiers=[
		'Development Status :: 1 - Planning',
		'License :: OSI Approved :: Apache Software License',
		'Intended Audience :: Developers',
		'Programming Language :: Python :: 3.5',
		'Topic :: Text Processing :: General',
		'Topic :: Software Development :: Libraries :: Python Modules',
	],
)

fix optional dependency