ctox
[tox](http://tox.readthedocs.org/) but with conda.
[](https://travis-ci.org/hayd/ctox)
This is a really rough hack to replicate tox using conda (Note that tox is professionally supported whilst ctox isn’t supported). In the long-term a much better solution is to add conda support to tox…
Currently:
conda envs and dependancies are cached (very naively)
some tox substitutions (some missing features)
~~no~~ some cli options (lots of missing features)
no parallel support (yet)
bugs (probably lots)
However, the neat thing is that it makes tox-like testing on a machine with conda installed, but not all python versions are installed.
In conclusion, you’re probably better off using tox, here be :dragon:s.
Usage
Have conda installed on your system. The recommended way (I think) is via [miniconda](http://conda.pydata.org/miniconda.html), the not recommended way (which will almost certainly fail) is via pip, please don’t use this with conda installed via pip.
In the project’s directory (which has a tox.ini file):
`sh cd project_dir ctox # or to pdb into any failing environments ctox -- --pdb --pdb-fail ` Note this assumes you have something like `nosetest {posargs}` (or `py.test {posargs}`) in the projects tox.ini file. which this will be replaced with `nosetest –pdb –pdb-fail` (or `py.test –pdb –pdb-fail`).
Why
I was sick of InterpreterNotFound when trying to use tox having installed python with conda. This solves that and I thought it wouldn’t take very long to put together. No doubt I should’ve just hacked on tox, which in the long-run will be the best solution, but there you are!
Metadata
Release files for ctox 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ctox-0.1.3.tar.gz | 14.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ctox-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.3 kB
Release files / ctox-0.1.3.tar.gz
| Download URL | ctox-0.1.3.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
790c3daee84b72c213688d859e77703f3ddd22346ddcaea59d87cbe433ff6ad5
|
|
BLAKE2b-256 checksum How to use checksums |
9613ab08f99e40af234a0617a6d3f3038d12ad20d24e593753fc31f1e6430e24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ctox-0.1.3-py3-none-any.whl
| Download URL | ctox-0.1.3-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49193abad955f82899529484d444572f70396683a2ffdf34b95e67423f9a7b59
|
|
BLAKE2b-256 checksum How to use checksums |
f91952bac571ded95f71fe638ffd625cf528504d7a9635159105c38d6e45a0aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ctox 0.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.