| |
Methods defined here:
- __getitem__(self, name)
- __init__(self, virtualenvDirectory, sitePackagesDirectory='')
- @param virtualenvDirectory <str> - Path to the root of the virtualenv
@param sitePackagesDirectory <str> - Path to the site packages directory (goes into PYTHONPATH)
If virtualenvDirectory is provided, sitePackagesDirectory will be calculated with default expected values.
This object should be considered read-only. If you need to modify values, you must create a new object.
- validate(self)
- validate - Validate that the virtualenv exists in the expected way.
@raises ValueError - With message indicating the reason for failure
@return <bool> - True
Static methods defined here:
- getBinDir(virtualenvDirectory)
- getBinDir - Gets the "bin" dir of a virtualenv
i.e. the directory that contains executables.
NOTE: This is overridden on import with the platform-specific version.
@param virtualenvDirectory <str> - The path to the root directory of the virtualenv
@return <str> - Path to the "bin" directory of the virtualenv
- getPipBin(virtualenvDirectory)
- getPipBin - Get the path to the pip executable within a virtualenv
NOTE: This is overridden on import with the platform-specific version.
@param virtualenvDirectory <str> - The path to the root directory of the virtualenv
@return <str> - Path to the "pip" executable associated with the virtualenv
- getPythonBin(virtualenvDirectory)
- getPythonBin - Get the path to the virtualenv python executable
NOTE: This is overridden on import with the platform-specific version.
@param virtualenvDirectory <str> - The path to the root directory of the virtualenv
@return <str> - Path to the "python" executable associated with the virtualenv
- getSitePackagesDirectory(virtualenvDirectory)
- getSitePackagesDirectory - Get the site packages directory associated with a virtualenv.
NOTE: This is overridden on import with the platform-specific version.
@param virtualenvDirectory <str> - The path to the root directory of the virtualenv
@return <str> - Path to the "site-packages" directory of the virtualenv
Data descriptors defined here:
- sitePackagesDirectory
- virtualenvDirectory
|