Conda-build: 'conda' script showing up in bin (Scripts) folder when building conda-devenv package

Created on 11 Apr 2017  路  9Comments  路  Source: conda/conda-build

Hi,

Yesterday I build packages for version 0.9.3 of conda-devenv and noticed that the packages for all platforms contain a conda script in the bin directory:

位 ls conda-devenv-0.9.3-py27_0\bin\
conda  conda-devenv

Or Scripts on Windows:

位 dir /b conda-devenv-0.9.3-py35_0\Scripts\ 
conda
conda-devenv-script.py
conda-devenv.exe

I did some local testing and noticed that this problem seems to have been introduced in 2.1.9, because the exact same recipe when built with 2.1.5, .2.1.7 and 2.1.8 do not include the conda script above.

I did the same test in 2.1.9 with the pytest package it does not include the conda script, so I think the problem might have to do with the fact that "conda-devenv" starts with "conda".

@gqmelo and I suspect this was introduced in #1881, but did not really verify this theory.

Most helpful comment

Thank you @msarahan !

All 9 comments

More info:

0.9.2 was built using conda-build-2.1.7 and 0.9.3 with conda-build-2.1.9, which supports the theory.

I think this should be resolved by https://github.com/conda/conda-build/pull/1913

Needs to be backported to 2.1.x. I'll do that very soon.

Awesome, thanks guys!

Also saw this on other platforms (Mac and Linux) packages of conda-smithy that got built today.

@msarahan, maybe this bug alone is worth a 2.1.10 release?

I agree, and will work on this today.

2.1.10 is tagged - please ping me if there are further issues on this.

Thank you @msarahan !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

asmeurer picture asmeurer  路  3Comments

sscherfke picture sscherfke  路  4Comments

ijstokes picture ijstokes  路  4Comments

sebastian-luna-valero picture sebastian-luna-valero  路  6Comments

jakirkham picture jakirkham  路  6Comments