fiscalyear has no dependencies, making it simple and easy to install. There are multiple ways to install the
The recommended way to install
fiscalyear is with
$ pip install fiscalyear
The fiscalyear module will now appear with your base Python installation.
If you work in an HPC environment, the Spack package manager can be used to install
fiscalyear as well.
$ spack install py-fiscalyear $ spack activate py-fiscalyear $ module load python
The resulting module file will automatically add
fiscalyear to your
PYTHONPATH. See the Spack Documentation to get started.
If you’re up for it, you can also install
fiscalyear from source. Simply clone the repository.
$ git clone https://github.com/adamjstewart/fiscalyear.git
Now build the module.
$ python setup.py build
At this point, you can optionally run the unit tests to make sure everything is working properly. This requires pytest for unit testing.
$ python setup.py test
Finally, install the package to somewhere in your
$ python setup.py install --prefix=/path/to/installation/prefix