libv8 4.5.95.5 → 5.0.71.48.0beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +45 -19
- data/CHANGELOG.md +14 -0
- data/README.md +30 -15
- data/Rakefile +7 -6
- data/ext/libv8/arch.rb +5 -4
- data/ext/libv8/builder.rb +25 -19
- data/ext/libv8/compiler.rb +6 -33
- data/ext/libv8/location.rb +7 -8
- data/lib/libv8/version.rb +1 -1
- data/libv8.gemspec +1 -1
- data/patches/build-standalone-static-library.patch +14 -0
- data/patches/disable-building-tests.patch +48 -10
- data/patches/fPIC-for-static.patch +3 -3
- data/release/x86-linux/Vagrantfile +8 -4
- data/release/x86_64-freebsd10/Vagrantfile +86 -0
- data/release/x86_64-linux/Vagrantfile +8 -4
- data/spec/compiler_spec.rb +5 -29
- data/spec/support/compiler_helpers.rb +2 -4
- data/vendor/depot_tools/.gitignore +15 -3
- data/vendor/depot_tools/OWNERS +2 -2
- data/vendor/depot_tools/PRESUBMIT.py +4 -2
- data/vendor/depot_tools/WATCHLISTS +6 -0
- data/vendor/depot_tools/apply_issue.py +70 -38
- data/vendor/depot_tools/bootstrap/win/README.md +66 -0
- data/vendor/depot_tools/bootstrap/win/git-bash.template.sh +12 -0
- data/vendor/depot_tools/bootstrap/win/git.template.bat +5 -0
- data/vendor/depot_tools/bootstrap/win/profile.d.python.sh +20 -0
- data/vendor/depot_tools/bootstrap/win/win_tools.bat +96 -45
- data/vendor/depot_tools/breakpad.py +6 -141
- data/vendor/depot_tools/buildbucket.py +45 -31
- data/vendor/depot_tools/cbuildbot +1 -0
- data/vendor/depot_tools/checkout.py +2 -1
- data/vendor/depot_tools/chrome_set_ver +1 -0
- data/vendor/depot_tools/cit +8 -0
- data/vendor/depot_tools/cit.bat +11 -0
- data/vendor/depot_tools/cit.py +120 -0
- data/vendor/depot_tools/codereview.settings +0 -2
- data/vendor/depot_tools/commit_queue +1 -5
- data/vendor/depot_tools/commit_queue.bat +1 -4
- data/vendor/depot_tools/commit_queue.py +78 -29
- data/vendor/depot_tools/cpplint.py +22 -14
- data/vendor/depot_tools/cros +1 -0
- data/vendor/depot_tools/cros_sdk +1 -0
- data/vendor/depot_tools/depot-tools-auth.py +3 -3
- data/vendor/depot_tools/download_from_google_storage.py +101 -21
- data/vendor/depot_tools/drover.py +2 -3
- data/vendor/depot_tools/fetch.py +31 -27
- data/vendor/depot_tools/{recipes → fetch_configs}/android.py +4 -4
- data/vendor/depot_tools/fetch_configs/breakpad.py +45 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/chromium.py +3 -3
- data/vendor/depot_tools/{recipes/recipe_util.py → fetch_configs/config_util.py} +3 -3
- data/vendor/depot_tools/fetch_configs/crashpad.py +41 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/dart.py +3 -3
- data/vendor/depot_tools/{recipes/pdfium.py → fetch_configs/dartino.py} +14 -13
- data/vendor/depot_tools/{recipes → fetch_configs}/dartium.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/depot_tools.py +3 -3
- data/vendor/depot_tools/fetch_configs/gyp.py +42 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/infra.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/infra_internal.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/ios.py +4 -4
- data/vendor/depot_tools/{recipes → fetch_configs}/mojo.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/nacl.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/naclports.py +3 -3
- data/vendor/depot_tools/fetch_configs/pdfium.py +40 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/skia.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/skia_buildbot.py +3 -3
- data/vendor/depot_tools/fetch_configs/syzygy.py +41 -0
- data/vendor/depot_tools/{recipes → fetch_configs}/v8.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc.py +3 -3
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc_android.py +4 -4
- data/vendor/depot_tools/{recipes → fetch_configs}/webrtc_ios.py +4 -4
- data/vendor/depot_tools/fix_encoding.py +6 -6
- data/vendor/depot_tools/gcl.py +11 -21
- data/vendor/depot_tools/gclient +10 -0
- data/vendor/depot_tools/gclient-new-workdir.py +7 -38
- data/vendor/depot_tools/gclient.bat +2 -2
- data/vendor/depot_tools/gclient.py +85 -65
- data/vendor/depot_tools/gclient_scm.py +83 -10
- data/vendor/depot_tools/gclient_utils.py +5 -1
- data/vendor/depot_tools/gerrit_util.py +243 -26
- data/vendor/depot_tools/git-auto-svn +1 -1
- data/vendor/depot_tools/git-cache +1 -1
- data/vendor/depot_tools/git-cherry-pick-upload +1 -1
- data/vendor/depot_tools/git-cl +1 -1
- data/vendor/depot_tools/git-drover +6 -0
- data/vendor/depot_tools/git-find-releases +6 -0
- data/vendor/depot_tools/git-footers +1 -1
- data/vendor/depot_tools/git-freeze +1 -1
- data/vendor/depot_tools/git-gs +1 -1
- data/vendor/depot_tools/git-hyper-blame +6 -0
- data/vendor/depot_tools/git-map +1 -1
- data/vendor/depot_tools/git-map-branches +1 -1
- data/vendor/depot_tools/git-mark-merge-base +1 -1
- data/vendor/depot_tools/git-nav-downstream +1 -1
- data/vendor/depot_tools/git-new-branch +1 -1
- data/vendor/depot_tools/git-number +1 -1
- data/vendor/depot_tools/git-rebase-update +1 -1
- data/vendor/depot_tools/git-rename-branch +1 -1
- data/vendor/depot_tools/git-reparent-branch +1 -1
- data/vendor/depot_tools/git-retry +1 -1
- data/vendor/depot_tools/git-squash-branch +1 -1
- data/vendor/depot_tools/git-thaw +1 -1
- data/vendor/depot_tools/git-try +1 -1
- data/vendor/depot_tools/git-upstream-diff +1 -1
- data/vendor/depot_tools/git_auto_svn.py +24 -6
- data/vendor/depot_tools/git_cache.py +74 -27
- data/vendor/depot_tools/git_cl.py +2118 -747
- data/vendor/depot_tools/git_common.py +100 -6
- data/vendor/depot_tools/git_dates.py +62 -0
- data/vendor/depot_tools/git_drover.py +424 -0
- data/vendor/depot_tools/git_find_releases.py +65 -0
- data/vendor/depot_tools/git_footers.py +42 -0
- data/vendor/depot_tools/git_hyper_blame.py +391 -0
- data/vendor/depot_tools/git_map_branches.py +8 -6
- data/vendor/depot_tools/git_new_branch.py +6 -1
- data/vendor/depot_tools/git_rebase_update.py +56 -16
- data/vendor/depot_tools/git_reparent_branch.py +13 -0
- data/vendor/depot_tools/git_try.py +0 -2
- data/vendor/depot_tools/gsutil.py +51 -20
- data/vendor/depot_tools/infra/config/OWNERS +3 -1
- data/vendor/depot_tools/infra/config/cq.cfg +7 -3
- data/vendor/depot_tools/infra/config/recipes.cfg +9 -0
- data/vendor/depot_tools/luci_hacks/README.md +35 -0
- data/vendor/depot_tools/{bootstrap/virtualenv/tests → luci_hacks}/__init__.py +0 -0
- data/vendor/depot_tools/luci_hacks/luci_recipe_run.isolate +12 -0
- data/vendor/depot_tools/luci_hacks/luci_recipe_run.py +81 -0
- data/vendor/depot_tools/luci_hacks/trigger_luci_job.py +128 -0
- data/vendor/depot_tools/man/html/depot_tools.html +9 -1
- data/vendor/depot_tools/man/html/depot_tools_tutorial.html +4 -4
- data/vendor/depot_tools/man/html/git-drover.html +191 -35
- data/vendor/depot_tools/man/html/git-hyper-blame.html +878 -0
- data/vendor/depot_tools/man/html/git-rebase-update.html +9 -4
- data/vendor/depot_tools/man/man1/git-drover.1 +189 -36
- data/vendor/depot_tools/man/man1/git-hyper-blame.1 +128 -0
- data/vendor/depot_tools/man/man1/git-rebase-update.1 +8 -6
- data/vendor/depot_tools/man/man7/depot_tools.7 +9 -4
- data/vendor/depot_tools/man/src/_git-hyper-blame_desc.helper.txt +1 -0
- data/vendor/depot_tools/man/src/common_demo_functions.sh +5 -0
- data/vendor/depot_tools/man/src/depot_tools_tutorial.txt +1 -1
- data/vendor/depot_tools/man/src/git-drover.demo.1.sh +11 -16
- data/vendor/depot_tools/man/src/git-drover.demo.3.sh +27 -0
- data/vendor/depot_tools/man/src/git-drover.demo.4.sh +39 -0
- data/vendor/depot_tools/man/src/git-drover.txt +49 -3
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.1.sh +3 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.2.sh +4 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.demo.common.sh +57 -0
- data/vendor/depot_tools/man/src/git-hyper-blame.txt +85 -0
- data/vendor/depot_tools/man/src/git-rebase-update.txt +5 -1
- data/vendor/depot_tools/my_activity.py +6 -21
- data/vendor/depot_tools/ninja +2 -2
- data/vendor/depot_tools/ninja-linux32 +0 -0
- data/vendor/depot_tools/ninja-linux64 +0 -0
- data/vendor/depot_tools/ninja-mac +0 -0
- data/vendor/depot_tools/ninja.exe +0 -0
- data/vendor/depot_tools/presubmit_canned_checks.py +83 -69
- data/vendor/depot_tools/presubmit_support.py +126 -42
- data/vendor/depot_tools/pylint.py +5 -1
- data/vendor/depot_tools/python_runner.sh +55 -0
- data/vendor/depot_tools/recipe_modules/bot_update/__init__.py +32 -0
- data/vendor/depot_tools/recipe_modules/bot_update/api.py +283 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic.json +56 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_output_manifest.json +63 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/basic_with_branch_heads.json +57 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/clobber.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/forced.json +57 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/gerrit_no_reset.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/no_shallow.json +44 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/off.json +43 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/reset_root_solution_revision.json +43 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/svn_mode.json +59 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange.json +58 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/trychange_oauth2.json +60 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob.json +58 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail.json +60 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch.json +81 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_fail_patch_download.json +81 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_gerrit_angle.json +49 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8.json +61 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.expected/tryjob_v8_head_by_default.json +51 -0
- data/vendor/depot_tools/recipe_modules/bot_update/example.py +172 -0
- data/vendor/depot_tools/{bootstrap/virtualenv/virtualenv_support → recipe_modules/bot_update/resources}/__init__.py +0 -0
- data/vendor/depot_tools/recipe_modules/bot_update/resources/bot_update.py +1764 -0
- data/vendor/depot_tools/recipe_modules/bot_update/test_api.py +86 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/__init__.py +3 -0
- data/vendor/depot_tools/recipe_modules/depot_tools/api.py +27 -0
- data/vendor/depot_tools/recipe_modules/gclient/__init__.py +10 -0
- data/vendor/depot_tools/recipe_modules/gclient/api.py +378 -0
- data/vendor/depot_tools/recipe_modules/gclient/config.py +671 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/basic.json +172 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/revision.json +174 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.expected/tryserver.json +185 -0
- data/vendor/depot_tools/recipe_modules/gclient/example.py +100 -0
- data/vendor/depot_tools/recipe_modules/gclient/test_api.py +37 -0
- data/vendor/depot_tools/recipe_modules/git/__init__.py +9 -0
- data/vendor/depot_tools/recipe_modules/git/api.py +377 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_branch.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_file_name.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_hash.json +176 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_ref.json +177 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/basic_submodule_update_force.json +178 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/can_fail_build.json +153 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/cannot_fail_build.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/cat-file_test.json +199 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_delta.json +250 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_failed.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output.json +182 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/count-objects_with_bad_output_fails_build.json +102 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/curl_trace_file.json +181 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/platform_win.json +186 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/rebase_failed.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/remote_not_origin.json +179 -0
- data/vendor/depot_tools/recipe_modules/git/example.expected/set_got_revision.json +178 -0
- data/vendor/depot_tools/recipe_modules/git/example.py +147 -0
- data/vendor/depot_tools/recipe_modules/git/resources/git_setup.py +61 -0
- data/vendor/depot_tools/recipe_modules/git/test_api.py +18 -0
- data/vendor/depot_tools/recipe_modules/git_cl/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/git_cl/api.py +25 -0
- data/vendor/depot_tools/recipe_modules/git_cl/config.py +22 -0
- data/vendor/depot_tools/recipe_modules/git_cl/example.expected/basic.json +66 -0
- data/vendor/depot_tools/recipe_modules/git_cl/example.py +41 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/api.py +12 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/basic.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_linux.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_mac.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_buildbot_win.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_linux.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_mac.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.expected/paths_kitchen_win.json +14 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/example.py +28 -0
- data/vendor/depot_tools/recipe_modules/infra_paths/path_config.py +45 -0
- data/vendor/depot_tools/recipe_modules/presubmit/__init__.py +4 -0
- data/vendor/depot_tools/recipe_modules/presubmit/api.py +20 -0
- data/vendor/depot_tools/recipe_modules/presubmit/example.expected/basic.json +18 -0
- data/vendor/depot_tools/recipe_modules/presubmit/example.py +15 -0
- data/vendor/depot_tools/recipe_modules/rietveld/__init__.py +5 -0
- data/vendor/depot_tools/recipe_modules/rietveld/api.py +94 -0
- data/vendor/depot_tools/recipe_modules/rietveld/example.expected/basic.json +30 -0
- data/vendor/depot_tools/recipe_modules/rietveld/example.py +24 -0
- data/vendor/depot_tools/recipe_modules/tryserver/__init__.py +15 -0
- data/vendor/depot_tools/recipe_modules/tryserver/api.py +280 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_git_patch.json +104 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch.json +58 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_rietveld_patch_new.json +58 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_svn_patch.json +68 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch.json +43 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.expected/with_wrong_patch_new.json +43 -0
- data/vendor/depot_tools/recipe_modules/tryserver/example.py +53 -0
- data/vendor/depot_tools/recipe_modules/tryserver/test_api.py +7 -0
- data/vendor/depot_tools/recipes.py +136 -0
- data/vendor/depot_tools/repo +1 -1
- data/vendor/depot_tools/rietveld.py +46 -15
- data/vendor/depot_tools/roll_dep.py +97 -36
- data/vendor/depot_tools/scm.py +3 -3
- data/vendor/depot_tools/setup_color.py +94 -0
- data/vendor/depot_tools/subprocess2.py +10 -1
- data/vendor/depot_tools/third_party/cq_client/OWNERS +0 -1
- data/vendor/depot_tools/third_party/cq_client/README.md +47 -9
- data/vendor/depot_tools/third_party/cq_client/cq.pb.go +617 -0
- data/vendor/depot_tools/third_party/cq_client/cq.proto +75 -17
- data/vendor/depot_tools/third_party/cq_client/cq_pb2.py +168 -41
- data/vendor/depot_tools/third_party/cq_client/testdata/cq_gerrit.cfg +55 -0
- data/vendor/depot_tools/third_party/cq_client/{test/cq_example.cfg → testdata/cq_rietveld.cfg} +14 -6
- data/vendor/depot_tools/third_party/fancy_urllib/README +5 -4
- data/vendor/depot_tools/third_party/fancy_urllib/__init__.py +114 -52
- data/vendor/depot_tools/third_party/protobuf26/README.chromium +9 -6
- data/vendor/depot_tools/third_party/upload.py +17 -31
- data/vendor/depot_tools/trychange.py +0 -2
- data/vendor/depot_tools/update_depot_tools +29 -11
- data/vendor/depot_tools/update_depot_tools.bat +4 -9
- data/vendor/depot_tools/upload_to_google_storage.py +42 -5
- data/vendor/depot_tools/win_toolchain/OWNERS +1 -0
- data/vendor/depot_tools/win_toolchain/get_toolchain_if_necessary.py +227 -52
- data/vendor/depot_tools/win_toolchain/package_from_installed.py +203 -88
- metadata +161 -81
- data/patches/arm/do-not-imply-vfp3-and-armv7.patch +0 -16
- data/patches/arm/do-not-use-vfp2.patch +0 -13
- data/patches/clang51/no-unused-variable.patch +0 -12
- data/vendor/depot_tools/bootstrap/.gitignore +0 -2
- data/vendor/depot_tools/bootstrap/bootstrap.py +0 -234
- data/vendor/depot_tools/bootstrap/deps.pyl +0 -15
- data/vendor/depot_tools/bootstrap/util.py +0 -87
- data/vendor/depot_tools/bootstrap/virtualenv/.gitignore +0 -10
- data/vendor/depot_tools/bootstrap/virtualenv/.travis.yml +0 -28
- data/vendor/depot_tools/bootstrap/virtualenv/AUTHORS.txt +0 -91
- data/vendor/depot_tools/bootstrap/virtualenv/CONTRIBUTING.rst +0 -21
- data/vendor/depot_tools/bootstrap/virtualenv/LICENSE.txt +0 -22
- data/vendor/depot_tools/bootstrap/virtualenv/MANIFEST.in +0 -11
- data/vendor/depot_tools/bootstrap/virtualenv/README.rst +0 -10
- data/vendor/depot_tools/bootstrap/virtualenv/bin/rebuild-script.py +0 -71
- data/vendor/depot_tools/bootstrap/virtualenv/docs/changes.rst +0 -747
- data/vendor/depot_tools/bootstrap/virtualenv/docs/conf.py +0 -149
- data/vendor/depot_tools/bootstrap/virtualenv/docs/development.rst +0 -61
- data/vendor/depot_tools/bootstrap/virtualenv/docs/index.rst +0 -137
- data/vendor/depot_tools/bootstrap/virtualenv/docs/installation.rst +0 -58
- data/vendor/depot_tools/bootstrap/virtualenv/docs/make.bat +0 -170
- data/vendor/depot_tools/bootstrap/virtualenv/docs/reference.rst +0 -256
- data/vendor/depot_tools/bootstrap/virtualenv/docs/userguide.rst +0 -249
- data/vendor/depot_tools/bootstrap/virtualenv/scripts/virtualenv +0 -3
- data/vendor/depot_tools/bootstrap/virtualenv/setup.py +0 -111
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_activate.sh +0 -94
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_activate_expected.output +0 -2
- data/vendor/depot_tools/bootstrap/virtualenv/tests/test_virtualenv.py +0 -139
- data/vendor/depot_tools/bootstrap/virtualenv/tests/tox.ini +0 -12
- data/vendor/depot_tools/bootstrap/virtualenv/tox.ini +0 -17
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv.py +0 -2367
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.bat +0 -26
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.csh +0 -42
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.fish +0 -74
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.ps1 +0 -150
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate.sh +0 -80
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/activate_this.py +0 -34
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/deactivate.bat +0 -20
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/distutils-init.py +0 -101
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/distutils.cfg +0 -6
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_embedded/site.py +0 -758
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/pip-6.0-py2.py3-none-any.whl +0 -0
- data/vendor/depot_tools/bootstrap/virtualenv/virtualenv_support/setuptools-8.2.1-py2.py3-none-any.whl +0 -0
- data/vendor/depot_tools/bootstrap/win/README.google +0 -16
- data/vendor/depot_tools/cbuildbot +0 -96
- data/vendor/depot_tools/chrome_set_ver +0 -96
- data/vendor/depot_tools/cros +0 -96
- data/vendor/depot_tools/cros_sdk +0 -96
- data/vendor/depot_tools/git-cl-upload-hook +0 -52
- data/vendor/depot_tools/git-crup +0 -45
- data/vendor/depot_tools/python_git_runner.sh +0 -36
- data/vendor/depot_tools/recipes/blink.py +0 -59
- data/vendor/depot_tools/third_party/cq_client/test/validate_config_test.py +0 -52
- data/vendor/depot_tools/third_party/cq_client/validate_config.py +0 -108
- data/vendor/depot_tools/win_toolchain/toolchain2013.py +0 -494
@@ -1,149 +0,0 @@
|
|
1
|
-
# -*- coding: utf-8 -*-
|
2
|
-
#
|
3
|
-
# Paste documentation build configuration file, created by
|
4
|
-
# sphinx-quickstart on Tue Apr 22 22:08:49 2008.
|
5
|
-
#
|
6
|
-
# This file is execfile()d with the current directory set to its containing dir.
|
7
|
-
#
|
8
|
-
# The contents of this file are pickled, so don't put values in the namespace
|
9
|
-
# that aren't pickleable (module imports are okay, they're removed automatically).
|
10
|
-
#
|
11
|
-
# All configuration values have a default value; values that are commented out
|
12
|
-
# serve to show the default value.
|
13
|
-
|
14
|
-
import os
|
15
|
-
import sys
|
16
|
-
|
17
|
-
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
18
|
-
|
19
|
-
# If your extensions are in another directory, add it here.
|
20
|
-
sys.path.insert(0, os.path.abspath(os.pardir))
|
21
|
-
|
22
|
-
# General configuration
|
23
|
-
# ---------------------
|
24
|
-
|
25
|
-
# Add any Sphinx extension module names here, as strings. They can be extensions
|
26
|
-
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
|
27
|
-
extensions = ['sphinx.ext.autodoc']
|
28
|
-
|
29
|
-
# Add any paths that contain templates here, relative to this directory.
|
30
|
-
## FIXME: disabled for now because I haven't figured out how to use this:
|
31
|
-
#templates_path = ['_templates']
|
32
|
-
|
33
|
-
# The suffix of source filenames.
|
34
|
-
source_suffix = '.rst'
|
35
|
-
|
36
|
-
# The master toctree document.
|
37
|
-
master_doc = 'index'
|
38
|
-
|
39
|
-
# General substitutions.
|
40
|
-
project = 'virtualenv'
|
41
|
-
copyright = '2007-2014, Ian Bicking, The Open Planning Project, PyPA'
|
42
|
-
|
43
|
-
# The default replacements for |version| and |release|, also used in various
|
44
|
-
# other places throughout the built documents.
|
45
|
-
try:
|
46
|
-
from virtualenv import __version__
|
47
|
-
# The short X.Y version.
|
48
|
-
version = '.'.join(__version__.split('.')[:2])
|
49
|
-
# The full version, including alpha/beta/rc tags.
|
50
|
-
release = __version__
|
51
|
-
except ImportError:
|
52
|
-
version = release = 'dev'
|
53
|
-
|
54
|
-
# There are two options for replacing |today|: either, you set today to some
|
55
|
-
# non-false value, then it is used:
|
56
|
-
#today = ''
|
57
|
-
# Else, today_fmt is used as the format for a strftime call.
|
58
|
-
today_fmt = '%B %d, %Y'
|
59
|
-
|
60
|
-
# List of documents that shouldn't be included in the build.
|
61
|
-
unused_docs = []
|
62
|
-
|
63
|
-
# If true, '()' will be appended to :func: etc. cross-reference text.
|
64
|
-
#add_function_parentheses = True
|
65
|
-
|
66
|
-
# If true, the current module name will be prepended to all description
|
67
|
-
# unit titles (such as .. function::).
|
68
|
-
#add_module_names = True
|
69
|
-
|
70
|
-
# If true, sectionauthor and moduleauthor directives will be shown in the
|
71
|
-
# output. They are ignored by default.
|
72
|
-
#show_authors = False
|
73
|
-
|
74
|
-
# The name of the Pygments (syntax highlighting) style to use.
|
75
|
-
pygments_style = 'sphinx'
|
76
|
-
|
77
|
-
|
78
|
-
# Options for HTML output
|
79
|
-
# -----------------------
|
80
|
-
|
81
|
-
# The style sheet to use for HTML and HTML Help pages. A file of that name
|
82
|
-
# must exist either in Sphinx' static/ path, or in one of the custom paths
|
83
|
-
# given in html_static_path.
|
84
|
-
#html_style = 'default.css'
|
85
|
-
|
86
|
-
html_theme = 'default'
|
87
|
-
if not on_rtd:
|
88
|
-
try:
|
89
|
-
import sphinx_rtd_theme
|
90
|
-
html_theme = 'sphinx_rtd_theme'
|
91
|
-
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
92
|
-
except ImportError:
|
93
|
-
pass
|
94
|
-
|
95
|
-
|
96
|
-
# Add any paths that contain custom static files (such as style sheets) here,
|
97
|
-
# relative to this directory. They are copied after the builtin static files,
|
98
|
-
# so a file named "default.css" will overwrite the builtin "default.css".
|
99
|
-
# html_static_path = ['_static']
|
100
|
-
|
101
|
-
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
102
|
-
# using the given strftime format.
|
103
|
-
html_last_updated_fmt = '%b %d, %Y'
|
104
|
-
|
105
|
-
# If true, SmartyPants will be used to convert quotes and dashes to
|
106
|
-
# typographically correct entities.
|
107
|
-
#html_use_smartypants = True
|
108
|
-
|
109
|
-
# Content template for the index page.
|
110
|
-
#html_index = ''
|
111
|
-
|
112
|
-
# Custom sidebar templates, maps document names to template names.
|
113
|
-
#html_sidebars = {}
|
114
|
-
|
115
|
-
# Additional templates that should be rendered to pages, maps page names to
|
116
|
-
# template names.
|
117
|
-
#html_additional_pages = {}
|
118
|
-
|
119
|
-
# If false, no module index is generated.
|
120
|
-
#html_use_modindex = True
|
121
|
-
|
122
|
-
# If true, the reST sources are included in the HTML build as _sources/<name>.
|
123
|
-
#html_copy_source = True
|
124
|
-
|
125
|
-
# Output file base name for HTML help builder.
|
126
|
-
htmlhelp_basename = 'Pastedoc'
|
127
|
-
|
128
|
-
|
129
|
-
# Options for LaTeX output
|
130
|
-
# ------------------------
|
131
|
-
|
132
|
-
# The paper size ('letter' or 'a4').
|
133
|
-
#latex_paper_size = 'letter'
|
134
|
-
|
135
|
-
# The font size ('10pt', '11pt' or '12pt').
|
136
|
-
#latex_font_size = '10pt'
|
137
|
-
|
138
|
-
# Grouping the document tree into LaTeX files. List of tuples
|
139
|
-
# (source start file, target name, title, author, document class [howto/manual]).
|
140
|
-
#latex_documents = []
|
141
|
-
|
142
|
-
# Additional stuff for the LaTeX preamble.
|
143
|
-
#latex_preamble = ''
|
144
|
-
|
145
|
-
# Documents to append as an appendix to all manuals.
|
146
|
-
#latex_appendices = []
|
147
|
-
|
148
|
-
# If false, no module index is generated.
|
149
|
-
#latex_use_modindex = True
|
@@ -1,61 +0,0 @@
|
|
1
|
-
Development
|
2
|
-
===========
|
3
|
-
|
4
|
-
Contributing
|
5
|
-
------------
|
6
|
-
|
7
|
-
Refer to the `pip development`_ documentation - it applies equally to
|
8
|
-
virtualenv, except that virtualenv issues should filed on the `virtualenv
|
9
|
-
repo`_ at GitHub.
|
10
|
-
|
11
|
-
Virtualenv's release schedule is tied to pip's -- each time there's a new pip
|
12
|
-
release, there will be a new virtualenv release that bundles the new version of
|
13
|
-
pip.
|
14
|
-
|
15
|
-
Files in the `virtualenv_embedded/` subdirectory are embedded into
|
16
|
-
`virtualenv.py` itself as base64-encoded strings (in order to support
|
17
|
-
single-file use of `virtualenv.py` without installing it). If your patch
|
18
|
-
changes any file in `virtualenv_embedded/`, run `bin/rebuild-script.py` to
|
19
|
-
update the embedded version of that file in `virtualenv.py`; commit that and
|
20
|
-
submit it as part of your patch / pull request.
|
21
|
-
|
22
|
-
.. _pip development: http://www.pip-installer.org/en/latest/development.html
|
23
|
-
.. _virtualenv repo: https://github.com/pypa/virtualenv/
|
24
|
-
|
25
|
-
Running the tests
|
26
|
-
-----------------
|
27
|
-
|
28
|
-
Virtualenv's test suite is small and not yet at all comprehensive, but we aim
|
29
|
-
to grow it.
|
30
|
-
|
31
|
-
The easy way to run tests (handles test dependencies automatically)::
|
32
|
-
|
33
|
-
$ python setup.py test
|
34
|
-
|
35
|
-
If you want to run only a selection of the tests, you'll need to run them
|
36
|
-
directly with pytest instead. Create a virtualenv, and install required
|
37
|
-
packages::
|
38
|
-
|
39
|
-
$ pip install pytest mock
|
40
|
-
|
41
|
-
Run pytest::
|
42
|
-
|
43
|
-
$ pytest
|
44
|
-
|
45
|
-
Or select just a single test file to run::
|
46
|
-
|
47
|
-
$ pytest tests/test_virtualenv
|
48
|
-
|
49
|
-
Status and License
|
50
|
-
------------------
|
51
|
-
|
52
|
-
``virtualenv`` is a successor to `workingenv
|
53
|
-
<http://cheeseshop.python.org/pypi/workingenv.py>`_, and an extension
|
54
|
-
of `virtual-python
|
55
|
-
<http://peak.telecommunity.com/DevCenter/EasyInstall#creating-a-virtual-python>`_.
|
56
|
-
|
57
|
-
It was written by Ian Bicking, sponsored by the `Open Planning
|
58
|
-
Project <http://openplans.org>`_ and is now maintained by a
|
59
|
-
`group of developers <https://github.com/pypa/virtualenv/raw/master/AUTHORS.txt>`_.
|
60
|
-
It is licensed under an
|
61
|
-
`MIT-style permissive license <https://github.com/pypa/virtualenv/raw/master/LICENSE.txt>`_.
|
@@ -1,137 +0,0 @@
|
|
1
|
-
Virtualenv
|
2
|
-
==========
|
3
|
-
|
4
|
-
`Mailing list <http://groups.google.com/group/python-virtualenv>`_ |
|
5
|
-
`Issues <https://github.com/pypa/virtualenv/issues>`_ |
|
6
|
-
`Github <https://github.com/pypa/virtualenv>`_ |
|
7
|
-
`PyPI <https://pypi.python.org/pypi/virtualenv/>`_ |
|
8
|
-
User IRC: #pypa
|
9
|
-
Dev IRC: #pypa-dev
|
10
|
-
|
11
|
-
Introduction
|
12
|
-
------------
|
13
|
-
|
14
|
-
``virtualenv`` is a tool to create isolated Python environments.
|
15
|
-
|
16
|
-
The basic problem being addressed is one of dependencies and versions,
|
17
|
-
and indirectly permissions. Imagine you have an application that
|
18
|
-
needs version 1 of LibFoo, but another application requires version
|
19
|
-
2. How can you use both these applications? If you install
|
20
|
-
everything into ``/usr/lib/python2.7/site-packages`` (or whatever your
|
21
|
-
platform's standard location is), it's easy to end up in a situation
|
22
|
-
where you unintentionally upgrade an application that shouldn't be
|
23
|
-
upgraded.
|
24
|
-
|
25
|
-
Or more generally, what if you want to install an application *and
|
26
|
-
leave it be*? If an application works, any change in its libraries or
|
27
|
-
the versions of those libraries can break the application.
|
28
|
-
|
29
|
-
Also, what if you can't install packages into the global
|
30
|
-
``site-packages`` directory? For instance, on a shared host.
|
31
|
-
|
32
|
-
In all these cases, ``virtualenv`` can help you. It creates an
|
33
|
-
environment that has its own installation directories, that doesn't
|
34
|
-
share libraries with other virtualenv environments (and optionally
|
35
|
-
doesn't access the globally installed libraries either).
|
36
|
-
|
37
|
-
.. comment: split here
|
38
|
-
|
39
|
-
.. toctree::
|
40
|
-
:maxdepth: 2
|
41
|
-
|
42
|
-
installation
|
43
|
-
userguide
|
44
|
-
reference
|
45
|
-
development
|
46
|
-
changes
|
47
|
-
|
48
|
-
.. warning::
|
49
|
-
|
50
|
-
Python bugfix releases 2.6.8, 2.7.3, 3.1.5 and 3.2.3 include a change that
|
51
|
-
will cause "import random" to fail with "cannot import name urandom" on any
|
52
|
-
virtualenv created on a Unix host with an earlier release of Python
|
53
|
-
2.6/2.7/3.1/3.2, if the underlying system Python is upgraded. This is due to
|
54
|
-
the fact that a virtualenv uses the system Python's standard library but
|
55
|
-
contains its own copy of the Python interpreter, so an upgrade to the system
|
56
|
-
Python results in a mismatch between the version of the Python interpreter
|
57
|
-
and the version of the standard library. It can be fixed by removing
|
58
|
-
``$ENV/bin/python`` and re-running virtualenv on the same target directory
|
59
|
-
with the upgraded Python.
|
60
|
-
|
61
|
-
Other Documentation and Links
|
62
|
-
-----------------------------
|
63
|
-
|
64
|
-
* `Blog announcement of virtualenv`__.
|
65
|
-
|
66
|
-
.. __: http://blog.ianbicking.org/2007/10/10/workingenv-is-dead-long-live-virtualenv/
|
67
|
-
|
68
|
-
* James Gardner has written a tutorial on using `virtualenv with
|
69
|
-
Pylons
|
70
|
-
<http://wiki.pylonshq.com/display/pylonscookbook/Using+a+Virtualenv+Sandbox>`_.
|
71
|
-
|
72
|
-
* Chris Perkins created a `showmedo video including virtualenv
|
73
|
-
<http://showmedo.com/videos/video?name=2910000&fromSeriesID=291>`_.
|
74
|
-
|
75
|
-
* Doug Hellmann's `virtualenvwrapper`_ is a useful set of scripts to make
|
76
|
-
your workflow with many virtualenvs even easier. `His initial blog post on it`__.
|
77
|
-
He also wrote `an example of using virtualenv to try IPython`__.
|
78
|
-
|
79
|
-
.. _virtualenvwrapper: https://pypi.python.org/pypi/virtualenvwrapper/
|
80
|
-
.. __: http://www.doughellmann.com/articles/CompletelyDifferent-2008-05-virtualenvwrapper/index.html
|
81
|
-
.. __: http://www.doughellmann.com/articles/CompletelyDifferent-2008-02-ipython-and-virtualenv/index.html
|
82
|
-
|
83
|
-
* `Pew`_ is another wrapper for virtualenv that makes use of a different
|
84
|
-
activation technique.
|
85
|
-
|
86
|
-
.. _Pew: https://pypi.python.org/pypi/pew/
|
87
|
-
|
88
|
-
* `Using virtualenv with mod_wsgi
|
89
|
-
<http://code.google.com/p/modwsgi/wiki/VirtualEnvironments>`_.
|
90
|
-
|
91
|
-
* `virtualenv commands
|
92
|
-
<https://github.com/thisismedium/virtualenv-commands>`_ for some more
|
93
|
-
workflow-related tools around virtualenv.
|
94
|
-
|
95
|
-
* PyCon US 2011 talk: `Reverse-engineering Ian Bicking's brain: inside pip and virtualenv
|
96
|
-
<http://pyvideo.org/video/568/reverse-engineering-ian-bicking--39-s-brain--insi>`_.
|
97
|
-
By the end of the talk, you'll have a good idea exactly how pip
|
98
|
-
and virtualenv do their magic, and where to go looking in the source
|
99
|
-
for particular behaviors or bug fixes.
|
100
|
-
|
101
|
-
Compare & Contrast with Alternatives
|
102
|
-
------------------------------------
|
103
|
-
|
104
|
-
There are several alternatives that create isolated environments:
|
105
|
-
|
106
|
-
* ``workingenv`` (which I do not suggest you use anymore) is the
|
107
|
-
predecessor to this library. It used the main Python interpreter,
|
108
|
-
but relied on setting ``$PYTHONPATH`` to activate the environment.
|
109
|
-
This causes problems when running Python scripts that aren't part of
|
110
|
-
the environment (e.g., a globally installed ``hg`` or ``bzr``). It
|
111
|
-
also conflicted a lot with Setuptools.
|
112
|
-
|
113
|
-
* `virtual-python
|
114
|
-
<http://peak.telecommunity.com/DevCenter/EasyInstall#creating-a-virtual-python>`_
|
115
|
-
is also a predecessor to this library. It uses only symlinks, so it
|
116
|
-
couldn't work on Windows. It also symlinks over the *entire*
|
117
|
-
standard library and global ``site-packages``. As a result, it
|
118
|
-
won't see new additions to the global ``site-packages``.
|
119
|
-
|
120
|
-
This script only symlinks a small portion of the standard library
|
121
|
-
into the environment, and so on Windows it is feasible to simply
|
122
|
-
copy these files over. Also, it creates a new/empty
|
123
|
-
``site-packages`` and also adds the global ``site-packages`` to the
|
124
|
-
path, so updates are tracked separately. This script also installs
|
125
|
-
Setuptools automatically, saving a step and avoiding the need for
|
126
|
-
network access.
|
127
|
-
|
128
|
-
* `zc.buildout <http://pypi.python.org/pypi/zc.buildout>`_ doesn't
|
129
|
-
create an isolated Python environment in the same style, but
|
130
|
-
achieves similar results through a declarative config file that sets
|
131
|
-
up scripts with very particular packages. As a declarative system,
|
132
|
-
it is somewhat easier to repeat and manage, but more difficult to
|
133
|
-
experiment with. ``zc.buildout`` includes the ability to setup
|
134
|
-
non-Python systems (e.g., a database server or an Apache instance).
|
135
|
-
|
136
|
-
I *strongly* recommend anyone doing application development or
|
137
|
-
deployment use one of these tools.
|
@@ -1,58 +0,0 @@
|
|
1
|
-
Installation
|
2
|
-
============
|
3
|
-
|
4
|
-
.. warning::
|
5
|
-
|
6
|
-
We advise installing virtualenv-1.9 or greater. Prior to version 1.9, the
|
7
|
-
pip included in virtualenv did not download from PyPI over SSL.
|
8
|
-
|
9
|
-
.. warning::
|
10
|
-
|
11
|
-
When using pip to install virtualenv, we advise using pip 1.3 or greater.
|
12
|
-
Prior to version 1.3, pip did not download from PyPI over SSL.
|
13
|
-
|
14
|
-
.. warning::
|
15
|
-
|
16
|
-
We advise against using easy_install to install virtualenv when using
|
17
|
-
setuptools < 0.9.7, because easy_install didn't download from PyPI over SSL
|
18
|
-
and was broken in some subtle ways.
|
19
|
-
|
20
|
-
To install globally with `pip` (if you have pip 1.3 or greater installed globally):
|
21
|
-
|
22
|
-
::
|
23
|
-
|
24
|
-
$ [sudo] pip install virtualenv
|
25
|
-
|
26
|
-
Or to get the latest unreleased dev version:
|
27
|
-
|
28
|
-
::
|
29
|
-
|
30
|
-
$ [sudo] pip install https://github.com/pypa/virtualenv/tarball/develop
|
31
|
-
|
32
|
-
|
33
|
-
To install version X.X globally from source:
|
34
|
-
|
35
|
-
::
|
36
|
-
|
37
|
-
$ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-X.X.tar.gz
|
38
|
-
$ tar xvfz virtualenv-X.X.tar.gz
|
39
|
-
$ cd virtualenv-X.X
|
40
|
-
$ [sudo] python setup.py install
|
41
|
-
|
42
|
-
|
43
|
-
To *use* locally from source:
|
44
|
-
|
45
|
-
::
|
46
|
-
|
47
|
-
$ curl -O https://pypi.python.org/packages/source/v/virtualenv/virtualenv-X.X.tar.gz
|
48
|
-
$ tar xvfz virtualenv-X.X.tar.gz
|
49
|
-
$ cd virtualenv-X.X
|
50
|
-
$ python virtualenv.py myVE
|
51
|
-
|
52
|
-
.. note::
|
53
|
-
|
54
|
-
The ``virtualenv.py`` script is *not* supported if run without the
|
55
|
-
necessary pip/setuptools/virtualenv distributions available locally. All
|
56
|
-
of the installation methods above include a ``virtualenv_support``
|
57
|
-
directory alongside ``virtualenv.py`` which contains a complete set of
|
58
|
-
pip and setuptools distributions, and so are fully supported.
|
@@ -1,170 +0,0 @@
|
|
1
|
-
@ECHO OFF
|
2
|
-
|
3
|
-
REM Command file for Sphinx documentation
|
4
|
-
|
5
|
-
if "%SPHINXBUILD%" == "" (
|
6
|
-
set SPHINXBUILD=sphinx-build
|
7
|
-
)
|
8
|
-
set BUILDDIR=_build
|
9
|
-
set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
|
10
|
-
if NOT "%PAPER%" == "" (
|
11
|
-
set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
|
12
|
-
)
|
13
|
-
|
14
|
-
if "%1" == "" goto help
|
15
|
-
|
16
|
-
if "%1" == "help" (
|
17
|
-
:help
|
18
|
-
echo.Please use `make ^<target^>` where ^<target^> is one of
|
19
|
-
echo. html to make standalone HTML files
|
20
|
-
echo. dirhtml to make HTML files named index.html in directories
|
21
|
-
echo. singlehtml to make a single large HTML file
|
22
|
-
echo. pickle to make pickle files
|
23
|
-
echo. json to make JSON files
|
24
|
-
echo. htmlhelp to make HTML files and a HTML help project
|
25
|
-
echo. qthelp to make HTML files and a qthelp project
|
26
|
-
echo. devhelp to make HTML files and a Devhelp project
|
27
|
-
echo. epub to make an epub
|
28
|
-
echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
|
29
|
-
echo. text to make text files
|
30
|
-
echo. man to make manual pages
|
31
|
-
echo. changes to make an overview over all changed/added/deprecated items
|
32
|
-
echo. linkcheck to check all external links for integrity
|
33
|
-
echo. doctest to run all doctests embedded in the documentation if enabled
|
34
|
-
goto end
|
35
|
-
)
|
36
|
-
|
37
|
-
if "%1" == "clean" (
|
38
|
-
for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
|
39
|
-
del /q /s %BUILDDIR%\*
|
40
|
-
goto end
|
41
|
-
)
|
42
|
-
|
43
|
-
if "%1" == "html" (
|
44
|
-
%SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
|
45
|
-
if errorlevel 1 exit /b 1
|
46
|
-
echo.
|
47
|
-
echo.Build finished. The HTML pages are in %BUILDDIR%/html.
|
48
|
-
goto end
|
49
|
-
)
|
50
|
-
|
51
|
-
if "%1" == "dirhtml" (
|
52
|
-
%SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
|
53
|
-
if errorlevel 1 exit /b 1
|
54
|
-
echo.
|
55
|
-
echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
|
56
|
-
goto end
|
57
|
-
)
|
58
|
-
|
59
|
-
if "%1" == "singlehtml" (
|
60
|
-
%SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
|
61
|
-
if errorlevel 1 exit /b 1
|
62
|
-
echo.
|
63
|
-
echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
|
64
|
-
goto end
|
65
|
-
)
|
66
|
-
|
67
|
-
if "%1" == "pickle" (
|
68
|
-
%SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
|
69
|
-
if errorlevel 1 exit /b 1
|
70
|
-
echo.
|
71
|
-
echo.Build finished; now you can process the pickle files.
|
72
|
-
goto end
|
73
|
-
)
|
74
|
-
|
75
|
-
if "%1" == "json" (
|
76
|
-
%SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
|
77
|
-
if errorlevel 1 exit /b 1
|
78
|
-
echo.
|
79
|
-
echo.Build finished; now you can process the JSON files.
|
80
|
-
goto end
|
81
|
-
)
|
82
|
-
|
83
|
-
if "%1" == "htmlhelp" (
|
84
|
-
%SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
|
85
|
-
if errorlevel 1 exit /b 1
|
86
|
-
echo.
|
87
|
-
echo.Build finished; now you can run HTML Help Workshop with the ^
|
88
|
-
.hhp project file in %BUILDDIR%/htmlhelp.
|
89
|
-
goto end
|
90
|
-
)
|
91
|
-
|
92
|
-
if "%1" == "qthelp" (
|
93
|
-
%SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
|
94
|
-
if errorlevel 1 exit /b 1
|
95
|
-
echo.
|
96
|
-
echo.Build finished; now you can run "qcollectiongenerator" with the ^
|
97
|
-
.qhcp project file in %BUILDDIR%/qthelp, like this:
|
98
|
-
echo.^> qcollectiongenerator %BUILDDIR%\qthelp\django-compressor.qhcp
|
99
|
-
echo.To view the help file:
|
100
|
-
echo.^> assistant -collectionFile %BUILDDIR%\qthelp\django-compressor.ghc
|
101
|
-
goto end
|
102
|
-
)
|
103
|
-
|
104
|
-
if "%1" == "devhelp" (
|
105
|
-
%SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
|
106
|
-
if errorlevel 1 exit /b 1
|
107
|
-
echo.
|
108
|
-
echo.Build finished.
|
109
|
-
goto end
|
110
|
-
)
|
111
|
-
|
112
|
-
if "%1" == "epub" (
|
113
|
-
%SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
|
114
|
-
if errorlevel 1 exit /b 1
|
115
|
-
echo.
|
116
|
-
echo.Build finished. The epub file is in %BUILDDIR%/epub.
|
117
|
-
goto end
|
118
|
-
)
|
119
|
-
|
120
|
-
if "%1" == "latex" (
|
121
|
-
%SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
|
122
|
-
if errorlevel 1 exit /b 1
|
123
|
-
echo.
|
124
|
-
echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
|
125
|
-
goto end
|
126
|
-
)
|
127
|
-
|
128
|
-
if "%1" == "text" (
|
129
|
-
%SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
|
130
|
-
if errorlevel 1 exit /b 1
|
131
|
-
echo.
|
132
|
-
echo.Build finished. The text files are in %BUILDDIR%/text.
|
133
|
-
goto end
|
134
|
-
)
|
135
|
-
|
136
|
-
if "%1" == "man" (
|
137
|
-
%SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
|
138
|
-
if errorlevel 1 exit /b 1
|
139
|
-
echo.
|
140
|
-
echo.Build finished. The manual pages are in %BUILDDIR%/man.
|
141
|
-
goto end
|
142
|
-
)
|
143
|
-
|
144
|
-
if "%1" == "changes" (
|
145
|
-
%SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
|
146
|
-
if errorlevel 1 exit /b 1
|
147
|
-
echo.
|
148
|
-
echo.The overview file is in %BUILDDIR%/changes.
|
149
|
-
goto end
|
150
|
-
)
|
151
|
-
|
152
|
-
if "%1" == "linkcheck" (
|
153
|
-
%SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
|
154
|
-
if errorlevel 1 exit /b 1
|
155
|
-
echo.
|
156
|
-
echo.Link check complete; look for any errors in the above output ^
|
157
|
-
or in %BUILDDIR%/linkcheck/output.txt.
|
158
|
-
goto end
|
159
|
-
)
|
160
|
-
|
161
|
-
if "%1" == "doctest" (
|
162
|
-
%SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
|
163
|
-
if errorlevel 1 exit /b 1
|
164
|
-
echo.
|
165
|
-
echo.Testing of doctests in the sources finished, look at the ^
|
166
|
-
results in %BUILDDIR%/doctest/output.txt.
|
167
|
-
goto end
|
168
|
-
)
|
169
|
-
|
170
|
-
:end
|