citusdata/tools

Document build of tools pyhon scripts

gurkanindibay opened this issue · 2 comments

Document below steps in readme file

We still use requirements.txt . pip-tools has compile option I used pip-compile --generate-hashes option
The steps I followwed to create requirements.txt is below

Create requirements.in file with required dependencies
create a virtual environment using pip to provide clean run
python3 -m venv env
activate virtual environment
source env/bin/activate
Go to directory which includes requirements.in
Run pip-compile with hash option
pip-compile --generate-hashes
References:
https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/
https://github.com/jazzband/pip-tools