Installation instructions#
pip installing with options#
You may wish to selectively install dependencies required for testing, developing, or building certain parts of the project. The options are the following:
benchmark: Requirements needed to run the benchmarking notebookstutorial: Requirements needed to run the Jupyter Notebooks with the examplestest: Requirements needed to run the test suitedocs: Requirements needed to build the documentation (see the [docs](xgi-org/xgi))developer: Requirements needed to format the codebaserelease: Requirements needed to release new versions of XGI
You can install XGI with one or more of these options by running the following:
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 notebooksdefault.txt: Default requirementstutorial.txt: Requirements for running the Jupyter Notebooks with the examplestest.txt: Requirements for running test suitedocs.txt: Requirements for building the documentation (see ../docs/)developer.txt: Requirements for developersrelease.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