[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

sfdye/piptools-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

piptools-example

pip-compile

$ pip-compile --generate-hashes requirements/main.in
#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --generate-hashes requirements/main.in
#
django==2.2 \
    --hash=sha256:7c3543e4fb070d14e10926189a7fcf42ba919263b7473dceaefce34d54e8a119 \
    --hash=sha256:a2814bffd1f007805b19194eb0b9a331933b82bd5da1c3ba3d7b7ba16e06dc4b \
    # via -r requirements/main.in
pytz==2019.3 \
    --hash=sha256:1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d \
    --hash=sha256:b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be \
    # via django
sqlparse==0.3.1 \
    --hash=sha256:022fb9c87b524d1f7862b3037e541f68597a730a8843245c349fc93e1643dc4e \
    --hash=sha256:e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548 \
    # via django
$ pip-compile --generate-hashes requirements/dev.in
#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --generate-hashes requirements/dev.in
#
django-debug-toolbar==2.2 \
    --hash=sha256:eabbefe89881bbe4ca7c980ff102e3c35c8e8ad6eb725041f538988f2f39a943 \
    --hash=sha256:ff94725e7aae74b133d0599b9bf89bd4eb8f5d2c964106e61d11750228c8774c \
    # via -r requirements/dev.in
django==2.2 \
    --hash=sha256:7c3543e4fb070d14e10926189a7fcf42ba919263b7473dceaefce34d54e8a119 \
    --hash=sha256:a2814bffd1f007805b19194eb0b9a331933b82bd5da1c3ba3d7b7ba16e06dc4b \
    # via -r requirements/main.txt, django-debug-toolbar
pytz==2019.3 \
    --hash=sha256:1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d \
    --hash=sha256:b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be \
    # via -r requirements/main.txt, django
sqlparse==0.3.1 \
    --hash=sha256:022fb9c87b524d1f7862b3037e541f68597a730a8843245c349fc93e1643dc4e \
    --hash=sha256:e162203737712307dfe78860cc56c8da8a852ab2ee33750e33aeadf38d12c548 \
    # via -r requirements/main.txt, django, django-debug-toolbar

pip-sync

$ pip-sync requirements/main.txt
Found existing installation: django-debug-toolbar 2.2
Uninstalling django-debug-toolbar-2.2:
  Successfully uninstalled django-debug-toolbar-2.2
$ pip-sync requirements/dev.txt
Collecting django-debug-toolbar==2.2
  Using cached django_debug_toolbar-2.2-py3-none-any.whl (198 kB)
Requirement already satisfied: sqlparse>=0.2.0 in /Users/lwan/.pyenv/versions/3.6.9/envs/piptools-example/lib/python3.6/site-packages (from django-debug-toolbar==2.2->-r /var/folders/dt/cwsz1mms1lnd36hx_3mzsc_40000gp/T/tmpwuiygv52 (line 1)) (0.3.1)
Requirement already satisfied: Django>=1.11 in /Users/lwan/.pyenv/versions/3.6.9/envs/piptools-example/lib/python3.6/site-packages (from django-debug-toolbar==2.2->-r /var/folders/dt/cwsz1mms1lnd36hx_3mzsc_40000gp/T/tmpwuiygv52 (line 1)) (2.2)
Requirement already satisfied: pytz in /Users/lwan/.pyenv/versions/3.6.9/envs/piptools-example/lib/python3.6/site-packages (from Django>=1.11->django-debug-toolbar==2.2->-r /var/folders/dt/cwsz1mms1lnd36hx_3mzsc_40000gp/T/tmpwuiygv52 (line 1)) (2019.3)
Installing collected packages: django-debug-toolbar
Successfully installed django-debug-toolbar-2.2

TODO

  • Add virtualenv
  • Add pre-commit

Releases

No releases published

Packages

No packages published