Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document build of tools pyhon scripts #104

Open
gurkanindibay opened this issue May 28, 2021 · 2 comments
Open

Document build of tools pyhon scripts #104

gurkanindibay opened this issue May 28, 2021 · 2 comments

Comments

@gurkanindibay
Copy link
Contributor

Document below steps in readme file

@gurkanindibay
Copy link
Contributor Author

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

@gurkanindibay
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant