Installation¶
Installing PyNLPIR is easy. You can use pip:
$ pip install pynlpir
That will download PyNLPIR from
the Python Package Index and install it in your
Python’s site-packages
directory.
Tarball Release¶
If you’d rather install PyNLPIR manually:
Download the most recent release from PyNLPIR’s PyPi page.
Unpack the tarball.
From inside the directory
pynlpir-XX
, runpip install .
That will install PyNLPIR in your Python’s site-packages
directory.
Install the Development Version¶
PyNLPIR’s code is hosted at GitHub. To install the development version first make sure Git is installed. Then run:
$ git clone git://github.com/tsroten/pynlpir.git
$ pip install -e pynlpir
This will link the pynlpir
directory into your site-packages
directory.
Running the Tests¶
Running the tests is easy. Make sure you have hatch installed.
$ hatch run test