heroku-python / conda-buildpack

[DEPRECATED] Buildpack for Conda.
MIT License
157 stars 251 forks source link

conda clean #5

Closed asmeurer closed 9 years ago

asmeurer commented 10 years ago

Nice to see this. I have a suggestion. At the end of the README, you note that Heroku has a relatively small filesize cap. You can run conda clean -pt to delete all tarballs, and also all unused packages (there may be some from the Miniconda installers if newer versions of the packages are available). That should clear up a good deal of space.

kennethreitz commented 10 years ago

Wonderful! This will vastly help things moving forward :)

kennethreitz commented 10 years ago

fixed! much much much better now :)

wallflowercc commented 9 years ago

This buildpack is incredibly helpful! Thanks for all your work! The clean up step seems to be causing me trouble. When I run "git push heroku master", everything seems to work except the last step. I see:

remote: Cleaning up... remote: Cache location: /app/.heroku/miniconda/pkgs remote: Will remove the following tarballs: remote: remote: requests-2.5.0-py27_0.tar.bz2 586 KB remote: python-2.7.9-1.tar.bz2 13.4 MB remote: openssl-1.0.1j-3.tar.bz2 2.6 MB remote: conda-3.7.3-py27_0.tar.bz2 156 KB remote: setuptools-7.0-py27_0.tar.bz2 436 KB remote: pip-1.5.6-py27_0.tar.bz2 1.3 MB remote: ----------------------------------------- remote: Total: 18.4 MB remote: remote: Proceed ([y]/n)?

The problem is typing y or n (+ return) into the command line doesn't do anything. There is no response and I'm just stuck. Is there something I am obviously doing wrong?

kennethreitz commented 9 years ago

hmm, there is likely a command line option that needs to be added in order for this to work.

asmeurer commented 9 years ago

You can use --yes, or add conda config --set always_yes at the top to make all such prompts choose yes.

kennethreitz commented 9 years ago

This should work now :)