File: development.rst

package info (click to toggle)
pyodc 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 700 kB
  • sloc: python: 2,369; ansic: 86; makefile: 32
file content (72 lines) | stat: -rw-r--r-- 1,335 bytes parent folder | download | duplicates (2)
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Development
===========

.. index:: Github

Contributions
-------------

The code repository is hosted on `Github`_, feel free to fork it and submit your PRs against the **develop** branch. To clone the repository locally, you can use the following command:

.. code-block:: shell

   git clone --branch develop git@github.com:ecmwf/pyodc.git


Development Dependencies
------------------------

.. index:: Dependencies; Development

Python Packages
^^^^^^^^^^^^^^^

* `cffi`_ (>= 1.14.5)
* `pandas`_ (>= 1.2.3)
* `pytest`_ (>= 6.2.3)


Shared Libraries
^^^^^^^^^^^^^^^^

* `odc`_ (>= 1.4.0)


Converters
^^^^^^^^^^

* `pandoc`_ (>= 2.13)


.. index:: Unit Tests

Run Unit Tests
--------------

To run the test suite, you can use the following command:

.. code-block:: shell

   python -m pytest


Build Documentation
-------------------

To build the documentation locally, please install the Python dependencies first:

.. code-block:: shell

   cd docs
   pip install -r requirements.txt
   make html

The built HTML documentation will be available under the ``docs/_build/html/index.html`` path.


.. _`Github`: https://github.com/ecmwf/pyodc
.. _`cffi`: https://cffi.readthedocs.io
.. _`pandas`: https://pandas.pydata.org/
.. _`pytest`: https://pytest.org
.. _`odc`: https://github.com/ecmwf/odc
.. _`pandoc`: https://pandoc.org