Giter VIP home page Giter VIP logo

bacon's Introduction

BNL Astro CONda (BACON)

Bacon is a set of scripts for local installation of conda environment at BNL.

It is composed of two essential scripts:

  • install_anaconda.sh will install a vanilla anaconda environment. Run once (or clean)
  • setup_cons.sh will additionally install set of of conda packages. Can be safely rerun multiple times.
  • setup_pip.sh will additionally install set of of pip packages. Can be safely rerun multiple times.

Things are setup in settings.sh.

Settings

  • TARGET is the target directory where installation should be performed
  • TMP is the tmp directory where anaconda installer is downloaded to
  • ANACONDA is url to the desired based anaconda
  • REPOS is the space delimeted list of github repos. Each repot should have an appropriate setup.py in its root.

bacon's People

Contributors

slosar avatar

Watchers

Erin Sheldon avatar James Cloos avatar  avatar

bacon's Issues

use a requirements file

make a file with a list of the packages you want. Usually call it requirements.txt

For example

galsim
ngmix
pytest
fitsio
esutil
sep

etc.

Make sure your ~/.condarc file has conda-forge at the top of the channels.

channels:
  - conda-forge
  - defaults

You can install miniconda rather than full anaconda

Then run

# first install mamba; it is way better than conda
conda install -y mamba
# from now on use mamba
mamba install -y --file requirements.txt

After that you can try to install some pip dependencies that are not on conda forge. But beware that pip can mess up your environment pretty badly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.