conda-index should remove imports from conda to avoid breakage. This should be easy enough except for the current_repodata feature.
- remove locks, which used a conda import to find the path to write the lock file. Instead, conda-index's database is consistent because it uses sqlite.
- vendor a copy of conda's Version class, which is used to choose the newest version of a package when generating channeldata
- inline the list of subdirs
- inline
('.tar.bz2', '.conda') instead of importing CONDA_PACKAGE_EXTENSIONS from conda.
When this is done, conda-index can run in a "recommended" configuration (no channeldata, no current_repodata) and does not import from conda for decreased runtime and increased stability.
conda-indexshould remove imports fromcondato avoid breakage. This should be easy enough except for thecurrent_repodatafeature.('.tar.bz2', '.conda')instead of importingCONDA_PACKAGE_EXTENSIONSfrom conda.When this is done, conda-index can run in a "recommended" configuration (no channeldata, no current_repodata) and does not import from conda for decreased runtime and increased stability.