Skip to content

Instantly share code, notes, and snippets.

@skulumani
Last active October 6, 2017 19:03
Show Gist options
  • Save skulumani/56529df29e328bd60b9ef8b0f52418a7 to your computer and use it in GitHub Desktop.
Save skulumani/56529df29e328bd60b9ef8b0f52418a7 to your computer and use it in GitHub Desktop.
Anaconda Project
  1. Create a minimum enviornment file that will run the program. It's better to list the explicit requirements rather than exporting form conda-env
  2. Save this as environment.yml in the project directory and run anaconda-project init
  3. Add a command using anconda-project add-command command_name "python main.py"
  4. Test it out by using anaconda-project run command_name
  5. If it's working then lock the version for all platforms using anaconda-project lock
  6. Create an archive using anaconda-project archive filename.zip
  7. Upload using anaconda-project upload

To run

  1. Download the project zip
  2. Install conda install anaconda-project
  3. In project directory anaconda-project run

http://anaconda-project.readthedocs.io/en/latest/user-guide/tasks/index.html

http://anaconda-project.readthedocs.io/en/latest/user-guide/getting-started.html#running-your-project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment