Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 2.2 KB

File metadata and controls

50 lines (38 loc) · 2.2 KB

Development

Prepare the development environment

You need python3.9 or later (3.9-3.12), git and tox. A recent version of wheel and pip>=21.0 are desired for the python versions that you want to use.

# clone the project
$ git clone https://github.com/relatio-nlp/relatio

# go in the main directory
$ cd relatio

# create the development environment
$ tox -e dev

# activate the development environment
$ source .tox/dev/bin/activate

# install the hooks
(dev)$ pre-commit install

# OPTIONAL: make your IPython kernel available to Jupyter in a different env
(dev)$ python -m ipykernel install --user --name py311_relatio --display-name "Python 3.11 (relatio)"

Testing

You can easily test using tox on python3.9, python3.10, python3.11, and python3.12.

$ tox -e py39   # python3.9 required
$ tox -e py310  # python3.10 required
$ tox -e py311  # python3.11 required
$ tox -e py312  # python3.12 required

Tools

Guides