Navigation | Overlay |
---|---|
t Navigate files | h Toggle hits |
y Change url to tip of branch | m Toggle misses |
b / v Jump to prev/next hit line | p Toggle partial |
z / x Jump to prev/next missed or partial line | 1..9 Toggle flags |
shift + o Open current page in GitHub | a Toggle all on |
/ or ? Show keyboard shortcuts dialog | c Toggle context lines or commits |
1 |
import os |
|
2 |
if "PYCTDEV_ECOSYSTEM" not in os.environ: |
|
3 |
os.environ["PYCTDEV_ECOSYSTEM"] = "conda" |
|
4 |
|
|
5 |
from pyctdev import * # noqa: api |
|
6 |
|
|
7 |
def task_pip_on_conda(): |
|
8 |
"""Experimental: provide pip build env via conda"""
|
|
9 |
return {'actions':[ |
|
10 |
# some ecosystem=pip build tools must be installed with conda when using conda...
|
|
11 |
'conda install -y pip twine wheel', |
|
12 |
# ..and some are only available via conda-forge
|
|
13 |
'conda install -y -c conda-forge tox virtualenv', |
|
14 |
]}
|
|
15 |
|
|
16 |
|
|
17 |
def _build_dev(channel): |
|
18 |
channels = " ".join(['-c %s' % c for c in channel]) |
|
19 |
return "conda build %s conda.recipe/ --build-only" % channels |
Read our documentation on viewing source code .