Skip to content

Commit

Permalink
Making setup.py PEP8 and pylint compliant.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Oct 2, 2014
1 parent a8e016e commit 45bc841
Showing 1 changed file with 36 additions and 34 deletions.
70 changes: 36 additions & 34 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,52 @@


try:
from setuptools import setup, find_packages
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
from distutils.core import setup, find_packages


if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
ERROR = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, ERROR
sys.exit(1)


requirements = [
REQUIREMENTS = [
'httplib2',
'oauth2client',
'protobuf',
'pycrypto',
'pyopenssl',
'pytz',
]
]

setup(name='gcloud',
version='0.02.2',
description='API Client library for Google Cloud',
author='JJ Geewax',
author_email='jj@geewax.org',
scripts=[],
url='https://github.com/GoogleCloudPlatform/gcloud-python',
packages=find_packages(),
license='Apache 2.0',
platforms='Posix; MacOS X; Windows',
package_data={'': ['gcloud/datastore/demo.key',
'gcloud/storage/demo.key']},
include_package_data=True,
zip_safe=False,
setup_requires=requirements,
install_requires=requirements,
classifiers=['Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet',
]
)
setup(
name='gcloud',
version='0.02.2',
description='API Client library for Google Cloud',
author='JJ Geewax',
author_email='jj@geewax.org',
scripts=[],
url='https://github.com/GoogleCloudPlatform/gcloud-python',
packages=find_packages(),
license='Apache 2.0',
platforms='Posix; MacOS X; Windows',
package_data={'': ['gcloud/datastore/demo.key',
'gcloud/storage/demo.key']},
include_package_data=True,
zip_safe=False,
setup_requires=REQUIREMENTS,
install_requires=REQUIREMENTS,
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet',
]
)

0 comments on commit 45bc841

Please sign in to comment.