mirror of
https://github.com/bndr/pipreqs.git
synced 2025-06-07 03:55:22 +00:00
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
# > python38 -m venv .env38
|
|
# # activate (.env38) virtual environment
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
# upgrade pip (21.1.1 -> 22.3.1)
|
|
# (.env38)> python.exe -m pip install --upgrade pip
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
# development packages
|
|
# (.env38)> pip install -r requirements-dev.txt
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
# development mode installation of `pipreqs`
|
|
# (.env38)> pip install -e .
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
# fix_SSLError tests.settings (optional) use of .env file
|
|
# alternative would be to set CA_BUNDLE environment variable
|
|
# $ export CA_BUNDLE="/certs/path/certificates.pem" # for nix OS
|
|
# $ set CA_BUNDLE="C:/certs/path/certificates.pem" # for win OS
|
|
|
|
python-dotenv
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
# required per CONTRIBUTING workflow
|
|
flake8
|
|
tox # only needed in the environment from which tox is run
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
# (optional)
|
|
# vscode settings: "python.formatting.provider": "black",
|
|
#black
|
|
docutils # reStructured Text support
|
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|