Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.62 KB

README.md

File metadata and controls

40 lines (32 loc) · 1.62 KB

Installation instructions

pip installing with options

You may wish to selectively install dependencies required for testing, developing, or building certain parts of the project. These options are the following:

  • benchmark: Requirements needed to run the benchmarking notebooks
  • tutorial: Requirements needed to run the Jupyter Notebooks with the examples
  • test: Requirements needed to run the test suite
  • docs: Requirements needed to build the documentation (see the docs)
  • developer: Requirements needed to format the codebase
  • release: Requirements needed to release new versions of XGI
pip install xgi[option]
pip install xgi[option1,option2]

pip installing dependencies (without installing XGI)

You may wish to install the dependencies without actually installing XGI itself. The following are the requirements files to do that:

  • benchmark.txt: Requirements to run the benchmarking notebooks
  • default.txt: Default requirements
  • tutorial.txt: Requirements for running the Jupyter Notebooks with the examples
  • test.txt: Requirements for running test suite
  • docs.txt: Requirements for building the documentation (see ../docs/)
  • developer.txt: Requirements for developers
  • release.txt: Requirements for making releases

To install these dependencies, simply run

$ pip install -U -r requirements/{filename}

where the filename is one of the ones listed above. For example, to install the requirements necessary to run the test suite, run

$ pip install -U -r requirements/default.txt
$ pip install -U -r requirements/test.txt