#!/usr/bin/python2.7
# Copyright 2010 Google Inc. All Rights Reserved.
#
#  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.
"""Setup script for Google APIs Client Generator."""

from ez_setup import use_setuptools
use_setuptools()

from setuptools import find_packages  # pylint:disable=g-import-not-at-top
from setuptools import setup


setup(
    name='google-apis-client-generator',
    version='1.4.2',
    description='Google Apis Client Generator',
    long_description=open('README').read(),
    author='Tony Aiuto',
    author_email='aiuto@google.com',
    maintainer='Jacob Smullyan',
    maintainer_email='smulloni@google.com',
    url='https://github.com/google/apis-client-generator/',
    packages=find_packages('src'),
    package_dir={'': 'src'},
    entry_points={
      'console_scripts': [
        ('generate_library = '
         'googleapis.codegen.script_stubs:RunGenerateLibrary'),
        ('expand_templates = '
         'googleapis.codegen.script_stubs:RunExpandTemplates')
      ]},
    include_package_data=True,
    # TODO(user): Any 1.8 version is OK, but django<1.9 seems to do the wrong
    #     thing. It installs version 1.9rc1, which is not compatible.
    install_requires=['django==1.8.12',
                      'httplib2',
                      'google-apputils',
                      'python-gflags',
                      'google-api-python-client'],
    zip_safe=False)
