Development Install#

Contributing requires git and, to open pull requests, a GitHub account.

Fork and Clone#

First, fork the repository on GitHub, then clone your fork and add the original repository as upstream:

git clone https://github.com/<your-username>/VisualAstro.git
cd VisualAstro
git remote add upstream https://github.com/elkogerville/VisualAstro.git

Editable Install#

Install VisualAstro in editable mode from the package root:

cd visualastro/
pip install -e .

This installs only the core dependencies and is sufficient for editing the source code.

Running Tests and Building the Docs#

Optional dependencies are not installed by default, but if you would like to run the tests or build the docs locally, you should instead run one of the following commands:

pip install -e ".[tests]"
pip install -e ".[docs]"
pip install -e ".[dev]"

dev installs all optional dependencies, as well as tests and docs. All extras are defined in pyproject.toml.