On Tue, May 19, 2015 at 4:17 PM, Chris Barker <chris.bar...@noaa.gov> wrote:

> On Tue, May 19, 2015 at 1:19 PM, Wes Turner <wes.tur...@gmail.com> wrote:
>
>> So it might make sense to actually allow folks to push conda to budding
>>> web developers, if conda allowed installation (and environment management)
>>> of sdist packages on PyPI.  So perhaps it would be good if *this* worked:
>>>
>>>   % pip install conda
>>>   % conda install scientific_stuff
>>>   % conda install --sdist django_widget   # we know to look on PyPI
>>>
>>>
>
>> Would this be different than:
>>
>>     # miniconda
>>     conda install pip
>>     conda install scientific_stuff
>>     pip install django_widget
>>
>
> yes -- in the later, you have to START with the conda environment. But yes
> -- that should be doable. If conda understands pip metadata for
> dependencies and conda provides pip-understandable metadata, then that
> could work fine.
>
> With gh:conda/conda-env, pip packages are in a pip: section of the
>> environment.yml file
>> For example:
>>
>>     conda env export -n root
>>
>> Then, to install pip: packages with pip:
>>
>>     conda create -n example -f ./environment.yml
>>
>
> good point --- you'd also want a way for the conda to easily re-create the
> environment, with the pip-installed stuff included. But again, do-able.
>

$ deactivate; conda install conda-env; conda env export -n root | tee
environment.yml
name: root
dependencies:
- binstar=0.10.3=py27_0
- clyent=0.3.4=py27_0
- conda=3.12.0=py27_0
- conda-build=1.12.1=py27_0
- conda-env=2.1.4=py27_0
- jinja2=2.7.3=py27_1
- markupsafe=0.23=py27_0
- openssl=1.0.1k=1
- pip=6.1.1=py27_0
- pycosat=0.6.1=py27_0
- python=2.7.9=1
- python-dateutil=2.4.2=py27_0
- pytz=2015.2=py27_0
- pyyaml=3.11=py27_0
- readline=6.2=2
- requests=2.7.0=py27_0
- setuptools=16.0=py27_0
- six=1.9.0=py27_0
- sqlite=3.8.4.1=1
- tk=8.5.18=0
- yaml=0.1.4=1
- zlib=1.2.8=0

- pip:
  - conda-build
(/Users/W/-wrk/-ce27/pypfi/src/conda-build)==1.12.1+46.g2d17c7f
  - dulwich==0.9.7
  - hg-git==0.6.1


>
> -Chris
>
>
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R            (206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115       (206) 526-6317   main reception
>
> chris.bar...@noaa.gov
>
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to