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

Allow installation with pip #3

Open
SarthakJariwala opened this issue Sep 24, 2021 · 3 comments
Open

Allow installation with pip #3

SarthakJariwala opened this issue Sep 24, 2021 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@SarthakJariwala
Copy link
Owner

This will let ezconda track the pip dependencies installed in the environment.

# will do 'pip install typer` in 'test' conda environment
ezconda install -n test typer --pip

The user can obviously simply do this as pip install typer but doing it with ezconda will also write it to environment.yml file as well as environment.lock file.

Could also potentially add the functionality to search for the package on conda with this command and if it is available, suggest the user to install the conda version?

@SarthakJariwala
Copy link
Owner Author

Can potentially utilize conda run -n <env-name> python -m pip install <package> for pip installations

@SarthakJariwala SarthakJariwala changed the title Add --pip option to install command? Allow installation with pip Jul 16, 2022
@SarthakJariwala
Copy link
Owner Author

It probably makes more sense to use this with the -c or --channel option.

ezconda install -c pip typer
# OR
ezconda install -c pypi typer

@SarthakJariwala
Copy link
Owner Author

SarthakJariwala commented Jul 16, 2022

To Do:

  • Update install command to allow installation with pip
  • Add new packages to pip section in specifications file
  • Check if python is installed before allowing pip installation
  • Update remove command to allow removal with pip
  • Remove packages from pip section in specifications file
  • Update upgrade command to allow pip install -U for installed pacakges
  • Allow installing pip packages while installing from lockfile

@SarthakJariwala SarthakJariwala added this to the v0.9.0 milestone Jul 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant