Skip to content

Add environment.yml to create dev environment #37

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

Merged
merged 3 commits into from
Nov 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# To use:
# $ conda env create -f environment.yml
# $ conda activate graphblas-algorithms-dev
#
# Or use mamba instead of conda.
#
# pre-commit should be set up once after the repo is cloned (see .pre-commit-config.yaml).
# In the `graphblas-algorithms-dev` environment, run:
# $ pre-commit install
#
# At times, one may need to use a development version of networkx or python-graphblas.
# To do this, you will need to uninstall, git clone, and run setup.py develop. For example:
#
# $ conda remove --force python-graphblas
# $ git clone git@github.com:python-graphblas/python-graphblas.git
# $ cd python-graphblas
# $ python setup.py develop --no-deps
#
# $ conda remove --force networkx
# $ git clone git@github.com:networkx/networkx.git
# $ cd networkx
# $ python setup.py develop --no-deps
name: graphblas-algorithms-dev
channels:
- conda-forge
- nodefaults # Only install packages from conda-forge for faster solving
dependencies:
- python
- python-graphblas
- networkx
# python-graphblas default dependencies
- donfig
- numba
- python-suitesparse-graphblas
- pyyaml
# networkx default dependencies
- matplotlib
- pandas
- scipy
# networkx extra dependencies
- lxml
- pydot
- pygraphviz
- sympy
# For linting
- pre-commit
# For testing
- pytest-cov
# For debugging
- icecream
- ipython