We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21e5f45 commit 4437b70Copy full SHA for 4437b70
setup.py
@@ -1,14 +1,14 @@
1
-import sys
+import os
2
3
4
-try:
5
- from setuptools import setup, find_packages
6
-except ImportError:
7
- from distutils.core import setup, find_packages
+from setuptools import setup
+from setuptools import find_packages
8
+here = os.path.abspath(os.path.dirname(__file__))
9
10
-if sys.version_info <= (2, 5):
11
- raise Exception('Requires Python Version 2.6 or above... exiting.')
+
+with open(os.path.join(here, 'README.rst')) as f:
+ README = f.read()
12
13
14
REQUIREMENTS = [
@@ -27,6 +27,7 @@
27
description='API Client library for Google Cloud',
28
author='JJ Geewax',
29
author_email='[email protected]',
30
+ long_description=README,
31
scripts=[],
32
url='https://github.com/GoogleCloudPlatform/gcloud-python',
33
packages=find_packages(),
0 commit comments