|
Orbits
1
|
Classes | |
| class | FakeDist |
| class | TestEasyInstallTest |
| class | TestPTHFileWriter |
| class | TestUserInstallTest |
| class | TestSetupRequires |
Functions | |
| def | create_setup_requires_package |
| def | make_trivial_sdist |
| def | tempdir_context |
| def | environment_context |
| def | argv_context |
| def | reset_setup_stop_context |
| def | quiet_context |
Variables | |
| string | WANTED |
| string | SETUP_PY |
Easy install Tests
| def setuptools.tests.test_easy_install.argv_context | ( | repl | ) |
| def setuptools.tests.test_easy_install.create_setup_requires_package | ( | path | ) |
Creates a source tree under path for a trivial test package that has a single requirement in setup_requires--a tarball for that requirement is also created and added to the dependency_links argument.
| def setuptools.tests.test_easy_install.environment_context | ( | updates | ) |
| def setuptools.tests.test_easy_install.make_trivial_sdist | ( | dist_path, | |
| setup_py | |||
| ) |
Create a simple sdist tarball at dist_path, containing just a setup.py, the contents of which are provided by the setup_py string.
| def setuptools.tests.test_easy_install.quiet_context | ( | ) |
Redirect stdout/stderr to StringIO objects to prevent console output from distutils commands.
| def setuptools.tests.test_easy_install.reset_setup_stop_context | ( | ) |
When the setuptools tests are run using setup.py test, and then one wants to invoke another setup() command (such as easy_install) within those tests, it's necessary to reset the global variable in distutils.core so that the setup() command will run naturally.
| def setuptools.tests.test_easy_install.tempdir_context | ( | cd = lambda dir:None | ) |
| string setuptools.tests.test_easy_install.SETUP_PY |
| string setuptools.tests.test_easy_install.WANTED |
1.8.3.1
Copyright 2014 Google Inc. All rights reserved.