Installation

Requirements

HAFFET depends on several python libraries, e.g. matplotlib, astropy, etc (see full list), and all of them could be installed via pip, e.g.:

pip install -r requirements.txt

Note

Almost-as-quick installation from official source release

HAFFET is also available in the Github. You can download and build it with:

python setup.py install --user

Check

If everything goes well, you will have it:

python
>>> import sdapy
>>> sdapy.__version__
'0.1.0'

Clean

When you run “python setup.py”, temporary build products are placed in the “build” directory. If you want to clean out and remove the build directory, then run:

python setup.py clean --all

Uninstall

For uninstallation, one can easily delete the files directly. In order to know the file path, you should start python in correct environment and do:

>>> import sdapy
>>> sdapy.__path__

Another approach is to remove it via pip:

pip uninstall haffet