Skip to content

Commit

Permalink
Use README.rst as 'long_description' for 'setup()'.
Browse files Browse the repository at this point in the history
Fixes #440.
  • Loading branch information
tseaver committed Dec 19, 2014
1 parent 21e5f45 commit 4437b70
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import sys
import os


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

here = os.path.abspath(os.path.dirname(__file__))

if sys.version_info <= (2, 5):
raise Exception('Requires Python Version 2.6 or above... exiting.')

with open(os.path.join(here, 'README.rst')) as f:
README = f.read()


REQUIREMENTS = [
Expand All @@ -27,6 +27,7 @@
description='API Client library for Google Cloud',
author='JJ Geewax',
author_email='jj@geewax.org',
long_description=README,
scripts=[],
url='https://github.com/GoogleCloudPlatform/gcloud-python',
packages=find_packages(),
Expand Down

0 comments on commit 4437b70

Please sign in to comment.