main_package
CLI implementation for conda package.
Provides some low-level tools for creating conda packages.
Functions
|
Remove files for a given prefix. |
|
|
|
|
|
|
|
|
|
|
|
Create a conda package and return a list of warnings. |
|
|
|
Return the package containing the path. |
|
Return the prefix for the provided path. |
Attributes
- remove(prefix, files)
Remove files for a given prefix.
- execute(args, parser)
- get_installed_version(prefix, name)
- create_info(name, version, build_number, requires_py)
- shebang_pat
- fix_shebang(tmp_dir, path)
- _add_info_dir(t, tmp_dir, files, has_prefix, info)
- create_conda_pkg(prefix, files, info, tar_path, update_info=None)
Create a conda package and return a list of warnings.
- make_tarbz2(prefix, name='unknown', version='0.0', build_number=0, files=None)
- which_package(path)
Return the package containing the path.
Provided the path of a (presumably) conda installed file, iterate over the conda packages the file came from. Usually the iteration yields only one package.
- which_prefix(path)
Return the prefix for the provided path.
Provided the path of a (presumably) conda installed file, return the environment prefix in which the file in located.