invirtualenv.package module¶
Functions for managing packaging
-
invirtualenv.package.install_prereq_packages(test=False)[source]¶ Install packages required to build python
Parameters: test (bool, optional) – Don’t run the actual command, if True
-
invirtualenv.package.latest_package_version(package)[source]¶ Get the latest version number for a package
Parameters: package (str) – Package to get the latest version of Returns: Latest package version or an empty string if no versions are found Return type: str
-
invirtualenv.package.package_scripts_directory()[source]¶ Get the package scripts directory
Returns str
The path to the directory containing the package scripts
-
invirtualenv.package.package_versions(package, pypi_url=None)[source]¶ Get all versions of a package from pypi
Parameters: Returns: A list of all packages found on pypi. The list will be empty if there were no versions found.
Return type: