Login
Introduction
Technical Documentation
Tasks
Version

Pip env task

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

PipEnvShell 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:
    [[source]]
    url = 'https://pypi.python.org/simple'
    verify_ssl = true
    name = 'pypi'
    
    [requires]
    python_version = '3.8'
    
    [packages]
    requests = { extras = ['socks'] }
    records = '>0.5.0'
    django = { git = 'https://github.com/django/django.git', ref = '1.11.4', editable = true }
    

Input

Output