Skip to content

Latest commit

 

History

History
85 lines (45 loc) · 2.04 KB

INSTALL.rst

File metadata and controls

85 lines (45 loc) · 2.04 KB

Installation

wlts.py depends essentially on Requests. Please, read the instructions below in order to install wlts.py.

Development Installation

Clone the Software Repository:

git clone https://github.com/brazil-data-cube/wlts.py.git

Go to the source code folder:

cd wlts.py

Install in development mode:

pip3 install -e .[all]

Note

If you want to create a new Python Virtual Environment, please, follow this instruction:

1. Create a new virtual environment linked to Python 3.11:

python3.11 -m venv venv

2. Activate the new environment:

source venv/bin/activate

3. Update pip and setuptools:

pip3 install --upgrade pip

pip3 install --upgrade setuptools

Run the Tests

Run the tests:

./run-test.sh

Build the Documentation

You can generate the documentation based on Sphinx with the following command:

sphinx-build docs/sphinx docs/sphinx/_build/html

The above command will generate the documentation in HTML and it will place it under:

docs/sphinx/_build/html/

You can open the above documentation in your favorite browser, as:

firefox docs/sphinx/_build/html/index.html