Skip to content

Commit

Permalink
Transition apiclient from googlecode to github.
Browse files Browse the repository at this point in the history
  • Loading branch information
skelterjohn committed Apr 24, 2014
1 parent 3aaca54 commit 864311d
Show file tree
Hide file tree
Showing 897 changed files with 217 additions and 179,821 deletions.
1 change: 0 additions & 1 deletion MANIFEST_oauth2client.in

This file was deleted.

43 changes: 6 additions & 37 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand All @@ -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

22 changes: 0 additions & 22 deletions README_oauth2client

This file was deleted.

4 changes: 0 additions & 4 deletions TODO

This file was deleted.

6 changes: 3 additions & 3 deletions describe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/build.sh → docs/build
Original file line number Diff line number Diff line change
Expand Up @@ -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
258 changes: 0 additions & 258 deletions docs/dyn/adexchangebuyer_v1_1.accounts.html

This file was deleted.

Loading

0 comments on commit 864311d

Please sign in to comment.