File: installation.rst

package info (click to toggle)
python-fiscalyear 0.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 224 kB
  • sloc: python: 1,362; makefile: 14
file content (47 lines) | stat: -rw-r--r-- 1,175 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Installation
============

``fiscalyear`` has no dependencies, making it simple and easy to install. There are multiple ways to install the ``fiscalyear`` module.


pip
---

The recommended way to install ``fiscalyear`` is with ``pip``.

.. code-block:: console

   $ pip install fiscalyear


The fiscalyear module will now appear with your base Python installation.


Anaconda
--------

You can also install ``fiscalyear`` with the ``conda`` package manager.

.. code-block:: console

   $ conda install -c conda-forge fiscalyear


Spack
-----

If you work in an HPC environment, the `Spack <https://spack.io/>`_ package manager can be used to install ``fiscalyear`` as well.

.. code-block:: console

   $ spack install py-fiscalyear
   $ spack load py-fiscalyear


See the `Spack Documentation <https://spack.readthedocs.io/en/latest/>`_ to get started.


Drag-n-Drop
-----------

If you want to vendor ``fiscalyear`` with your Python package, you can always download the `source code <https://github.com/adamjstewart/fiscalyear/blob/master/fiscalyear.py>`_. ``fiscalyear`` is composed of a single file, making it easy to drag-n-drop to your current directory and import.