Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda pip should have --pkg-name, ... option #72

Closed
ilanschnell opened this issue Apr 11, 2013 · 4 comments
Closed

conda pip should have --pkg-name, ... option #72

ilanschnell opened this issue Apr 11, 2013 · 4 comments
Labels
locked [bot] locked due to inactivity type::feature request for a new feature or capability

Comments

@ilanschnell
Copy link
Contributor

Just like conda package:

  --pkg-name PKG_NAME   package name of the created package
  --pkg-version PKG_VERSION
                        package version of the created package
  --pkg-build PKG_BUILD
                        package build number of the created package
@ilanschnell
Copy link
Contributor Author

Probably not an issue anymore, as we now have the ability to build from conda recipes.

@mforbes
Copy link

mforbes commented Jul 7, 2013

@ilanschnell Could you please add a note to this issue about how one should use recipes to get the equivalent behaviour of conda pip --pkg-name etc. as this is not yet clear from the documentation. (This note should probably also be added to the deprecation message for the pip command.)

@ilanschnell
Copy link
Contributor Author

@mforbes That depends which part of the conda pip you are interested in. If you just want to install a package using pip, then just use pip directly. If you want to create a package (also for others to use), then "conda build" is the command to use, which gives much better control over how the conda-package is build, and optionally it can be uploaded to binstar.org.

The "conda pip" command has been deprecated because of several reasons:

  • We added "conda build" in version 1.7
  • It does two many things at once (builds and installs a conda-package)
  • Is too Python specific (conda is a Python agnostic packaging tool)
  • It is confusing, i.e. it makes people believe that using pip directly not possible

@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Dec 12, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity type::feature request for a new feature or capability
Projects
None yet
Development

No branches or pull requests

2 participants