alpha4
diff --git a/setup.py b/setup.py
index cfd3b45..30eb61d 100644
--- a/setup.py
+++ b/setup.py
@@ -35,7 +35,7 @@
# Don't clobber installed versions of third party libraries
# with what we include.
-packages.extend(setup_utils.get_missing_requirements(third_party_reqs ))
+packages.extend(setup_utils.get_missing_requirements(third_party_reqs))
try:
# Some people prefer setuptools, and may have that installed
@@ -47,7 +47,7 @@
accessing the Buzz, Moderator, and Latitude APIs."""
setup(name="google-api-python-client",
- version="1.0alpha3",
+ version="1.0alpha4",
description="Google API Client Library for Python",
long_description=long_desc,
author="Joe Gregorio",
@@ -65,4 +65,3 @@
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP'])
-
diff --git a/setup_utils.py b/setup_utils.py
index 6ea7edc..79ee051 100644
--- a/setup_utils.py
+++ b/setup_utils.py
@@ -18,7 +18,7 @@
__author__ = 'tom.h.miller@gmail.com (Tom Miller)'
-def get_missing_requirements(third_party_reqs ):
+def get_missing_requirements(third_party_reqs):
"""Return a list of missing third party packages."""
import sys
@@ -30,7 +30,10 @@
sys.path.remove('')
except ValueError:
import os.path
- sys.path.remove(os.path.abspath(os.path.curdir))
+ try:
+ sys.path.remove(os.path.abspath(os.path.curdir))
+ except ValueError:
+ pass
missing_pkgs = []
for pkg in third_party_reqs:
try: