Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move vision code into a subpackage #2433

Merged
merged 3 commits into from
Sep 26, 2016

Commits on Sep 26, 2016

  1. Moving all vision files into subdirectory.

    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
    dhermes committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    9b0160a View commit details
    Browse the repository at this point in the history
  2. Making vision subpackage into a proper package.

    - 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
    dhermes committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    55f94ca View commit details
    Browse the repository at this point in the history
  3. Renaming some vision test fixture imports.

    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 committed Sep 26, 2016
    Configuration menu
    Copy the full SHA
    b4d0998 View commit details
    Browse the repository at this point in the history