Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use README.rst as 'long_description' for 'setup()'. #448

Merged
merged 1 commit into from
Dec 19, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.


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='[email protected]',
long_description=README,
scripts=[],
url='https://github.com/GoogleCloudPlatform/gcloud-python',
packages=find_packages(),
Expand Down