Joe Gregorio | 239855e | 2011-05-04 14:22:30 -0400 | [diff] [blame] | 1 | #!/usr/bin/env python |
| 2 | # |
| 3 | # Copyright (C) 2010 Google Inc. |
| 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
| 17 | """Setup script for the Google TaskQueue API command-line tool.""" |
| 18 | |
| 19 | __version__ = '1.0.2' |
| 20 | |
| 21 | |
| 22 | import sys |
| 23 | try: |
| 24 | from setuptools import setup |
| 25 | print 'Loaded setuptools' |
| 26 | except ImportError: |
| 27 | from distutils.core import setup |
| 28 | print 'Loaded distutils.core' |
| 29 | |
| 30 | |
| 31 | PACKAGE_NAME = 'google-taskqueue-client' |
| 32 | INSTALL_REQUIRES = ['google-apputils==0.1', |
| 33 | 'google-api-python-client', |
| 34 | 'httplib2', |
| 35 | 'oauth2', |
| 36 | 'python-gflags'] |
| 37 | setup(name=PACKAGE_NAME, |
| 38 | version=__version__, |
| 39 | description='Google TaskQueue API command-line tool and utils', |
| 40 | author='Google Inc.', |
| 41 | author_email='google-appengine@googlegroups.com', |
| 42 | url='http://code.google.com/appengine/docs/python/taskqueue/pull/overview.html', |
| 43 | install_requires=INSTALL_REQUIRES, |
| 44 | packages=['gtaskqueue'], |
| 45 | scripts=['gtaskqueue/gtaskqueue', 'gtaskqueue/gtaskqueue_puller', |
| 46 | 'gtaskqueue/gen_appengine_access_token'], |
| 47 | license='Apache 2.0', |
| 48 | keywords='google taskqueue api client', |
| 49 | classifiers=['Development Status :: 3 - Alpha', |
| 50 | 'Intended Audience :: Developers', |
| 51 | 'License :: OSI Approved :: Apache Software License', |
| 52 | 'Operating System :: POSIX', |
| 53 | 'Topic :: Internet :: WWW/HTTP']) |