Back to bricks list
Introduction Version

Pip env task

Typing name :  TASK.gws_core.PipEnvTask Brick :  gws_core v

PipEnvTask task.

This class allows to run python scripts in pipenv virtual environments. It rely on the awesome Pipenv module to efficiently automate the management of your venvs. See also https://pipenv.pypa.io/.

:property env_file_path: The dependencies to install. Could be a list of modules or the path of a dependency file. :type env_file_path: list,str

  • A typical environment Pipefile is:
    url = 'https://pypi.python.org/simple'
    verify_ssl = true
    name = 'pypi'
    python_version = '3.8'
    requests = { extras = ['socks'] }
    records = '>0.5.0'
    django = { git = 'https://github.com/django/django.git', ref = '1.11.4', editable = true }