Skip to content

Conversation

@dhermes
Copy link
Contributor

@dhermes dhermes commented Sep 26, 2016

This PR was created via: https://gist.github.com/dhermes/e239691aa584bd56a5352e34aad27cf3

export PROJECT_DIR="${HOME}/google-cloud-python"
export READMES_DIR="${HOME}/i-wrote-some-readmes-for-2357"
cd ${PROJECT_DIR}
git worktree add -b make-vision-subpackage ../hotfix official/master
python make_commits.py \
  --git-root "${PROJECT_DIR}/../hotfix" \
  --package vision \
  --package-name "Google Cloud Vision" \
  --readme "${READMES_DIR}/vision/README.rst"

Third commit was done by hand to fix up fixture import problems.

@dhermes dhermes added packaging api: vision Issues related to the Cloud Vision API. labels Sep 26, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 26, 2016
Done via:

$ mkdir -p vision/google/cloud
$ cp google/__init__.py vision/google/__init__.py
$ git add vision/google/__init__.py
$ cp google/cloud/__init__.py vision/google/cloud/__init__.py
$ git add vision/google/cloud/__init__.py
$ git mv google/cloud/vision vision/google/cloud/vision
$ git mv unit_tests/vision vision/unit_tests
- Adding README, setup.py, MANIFEST.in, .coveragerc and tox.ini
- Adding google-cloud-vision as a dependency to the umbrella
  package
- Adding the vision subdirectory into the list of packages
  for verifying the docs
- Incorporating the vision subdirectory into the umbrella
  coverage report
- Adding the vision only tox tests to the Travis config
- Adding {toxinidir}/../core as a dependency for the vision
  tox config
Done mostly via:

$ git grep -l 'unit_tests.vision._fixtures' |
> xargs sed -i s/'unit_tests.vision._fixtures'/'unit_tests._fixtures'/g

Then fixed up some indents after the fact.
@dhermes dhermes force-pushed the make-vision-subpackage branch from 09e3e3f to b4d0998 Compare September 26, 2016 23:25
@dhermes
Copy link
Contributor Author

dhermes commented Sep 26, 2016

Rebased after #2430. Green build

@dhermes dhermes merged commit 7307429 into googleapis:master Sep 26, 2016
@dhermes dhermes deleted the make-vision-subpackage branch September 26, 2016 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: vision Issues related to the Cloud Vision API. cla: yes This human has signed the Contributor License Agreement. packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants