Skip to content
Permalink
Browse files

Transition apiclient from googlecode to github.

  • Loading branch information...
skelterjohn committed Apr 24, 2014
1 parent 3aaca54 commit 864311da644202775379fda2c826490899a7a648
Showing 897 changed files with 217 additions and 179,821 deletions.

This file was deleted.

@@ -1,5 +1,5 @@
pep8:
find apiclient samples -name "*.py" | xargs pep8 --ignore=E111,E202
find googleapiclient samples -name "*.py" | xargs pep8 --ignore=E111,E202

APP_ENGINE_PATH=../google_appengine

@@ -15,21 +15,21 @@ coverage:

.PHONY: docs
docs:
cd docs; ./build.sh
cd docs; ./build
mkdir -p docs/dyn
python describe.py
python samples-index.py > ../google-api-python-client.wiki/SampleApps.wiki

.PHONY: wiki
wiki:
python samples-index.py > ../google-api-python-client.wiki/SampleApps.wiki

.PHONY: prerelease
prerelease: test
prerelease:
-rm -rf dist/
-sudo rm -rf dist/
-rm -rf snapshot/
-sudo rm -rf snapshot/
./tools/gae-zip-creator.sh
# ./tools/gae-zip-creator.sh
python expandsymlinks.py
cd snapshot; python setup.py clean
cd snapshot; python setup.py sdist --formats=gztar,zip
@@ -44,35 +44,4 @@ release: prerelease
@read yn; if [ yes -ne $(yn) ]; then exit 1; fi
@echo "Here we go..."
cd snapshot; python setup.py sdist --formats=gztar,zip register upload
wget "http://support.googlecode.com/svn/trunk/scripts/googlecode_upload.py" -O googlecode_upload.py
python googlecode_upload.py --summary="google-api-python-client Version $(shell python setup.py --version)" --project=google-api-python-client snapshot/dist/*.tar.gz
python googlecode_upload.py --summary="google-api-python-client Version $(shell python setup.py --version)" --project=google-api-python-client snapshot/dist/*.zip
python googlecode_upload.py --summary="Full Dependecies Build for Google App Engine Projects Version $(shell python setup.py --version)" --project=google-api-python-client snapshot/dist/gae/*.zip
python googlecode_upload.py --summary="Samples for google-api-python-client Version $(shell python setup.py --version)" --project=google-api-python-client snapshot/google-api-python-client-samples-*.tar.gz
python googlecode_upload.py --summary="Samples for google-api-python-client Version $(shell python setup.py --version)" --project=google-api-python-client snapshot/google-api-python-client-samples-*.zip

.PHONY: oauth2_prerelease
oauth2_prerelease: test
-rm -rf dist/
-sudo rm -rf dist/
-rm -rf snapshot/
-sudo rm -rf snapshot/
mkdir snapshot
python expandsymlinks.py --source=oauth2client --dest=snapshot/oauth2client
python expandsymlinks.py --source=uritemplate --dest=snapshot/uritemplate
cp setup_oauth2client.py snapshot/setup.py
cp MANIFEST_oauth2client.in snapshot/MANIFEST.in
cp README_oauth2client snapshot/README
cd snapshot; python setup.py clean
cd snapshot; python setup.py sdist --formats=gztar,zip

.PHONY: oauth2_release
oauth2_release: oauth2_prerelease
@echo "This target will upload a new release to PyPi and code.google.com hosting."
@echo "Are you sure you want to proceed? (yes/no)"
@read yn; if [ yes -ne $(yn) ]; then exit 1; fi
@echo "Here we go..."
cd snapshot; python setup.py sdist --formats=gztar,zip register upload
wget "http://support.googlecode.com/svn/trunk/scripts/googlecode_upload.py" -O googlecode_upload.py
python googlecode_upload.py --summary="oauth2client Version $(shell python setup.py --version)" --project=google-api-python-client snapshot/dist/*.tar.gz
python googlecode_upload.py --summary="oauth2client Version $(shell python setup.py --version)" --project=google-api-python-client snapshot/dist/*.zip

This file was deleted.

4 TODO

This file was deleted.

@@ -29,9 +29,9 @@
import string
import sys

from apiclient.discovery import DISCOVERY_URI
from apiclient.discovery import build
from apiclient.discovery import build_from_document
from googleapiclient.discovery import DISCOVERY_URI
from googleapiclient.discovery import build
from googleapiclient.discovery import build_from_document
from oauth2client.anyjson import simplejson
import httplib2
import uritemplate
@@ -24,5 +24,5 @@

export GOOGLE_APPENGINE=$HOME/projects/google_appengine/
export DJANGO_SETTINGS_MODULE=fakesettings
export PYTHONPATH=`pwd`/..:$GOOGLE_APPENGINE
epydoc --output epy --graph all --parse-only --docformat plaintext apiclient oauth2client
export PYTHONPATH=$(pwd)/..:$GOOGLE_APPENGINE
epydoc --output epy --graph all --parse-only --docformat plaintext googleapiclient

This file was deleted.

0 comments on commit 864311d

Please sign in to comment.
You can’t perform that action at this time.