1 0
import os
2 0
if "PYCTDEV_ECOSYSTEM" not in os.environ:
3 0
    os.environ["PYCTDEV_ECOSYSTEM"] = "conda"
4

5 0
from pyctdev import *  # noqa: api
6

7 0
def task_pip_on_conda():	
8
    """Experimental: provide pip build env via conda"""	
9 0
    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 0
def _build_dev(channel):
18 0
    channels = " ".join(['-c %s' % c for c in channel])
19 0
    return "conda build %s conda.recipe/ --build-only" % channels

Read our documentation on viewing source code .

Loading