Como isolar seus projetos Python com virtualenv (ambiente virtual)
Neste artigo lhes apresento o virtualenv, uma ferramenta que nos traz a habilidade de isolar o interpretador e as bibliotecas de nossos projetos Python, reduzindo o risco de problemas de versionamento e quebra de dependências caso o sistema operacional seja atualizado.
[ Hits: 6.765 ]
Por: Fábio Berbert de Paula em 13/12/2018 | Blog: https://youtube.com/c/cotidianohackeado
You must provide a DEST_DIR Usage: virtualenv.py [OPTIONS] DEST_DIR Options: --version show program's version number and exit -h, --help show this help message and exit -v, --verbose Increase verbosity. -q, --quiet Decrease verbosity. -p PYTHON_EXE, --python=PYTHON_EXE The Python interpreter to use, e.g., --python=python3.5 will use the python3.5 interpreter to create the new environment. The default is the interpreter that virtualenv was installed with (/usr/bin/python3) --clear Clear out the non-root install and start from scratch. --no-site-packages DEPRECATED. Retained only for backward compatibility. Not having access to global site-packages is now the default behavior. --system-site-packages Give the virtual environment access to the global site-packages. --always-copy Always copy files rather than symlinking. --relocatable Make an EXISTING virtualenv environment relocatable. This fixes up scripts and makes all .pth files relative. --no-setuptools Do not install setuptools in the new virtualenv. --no-pip Do not install pip in the new virtualenv. --no-wheel Do not install wheel in the new virtualenv. --extra-search-dir=DIR Directory to look for setuptools/pip distributions in. This option can be used multiple times. --download Download preinstalled packages from PyPI. --no-download, --never-download Do not download preinstalled packages from PyPI. --prompt=PROMPT Provides an alternative prompt prefix for this environment. --setuptools DEPRECATED. Retained only for backward compatibility. This option has no effect. --distribute DEPRECATED. Retained only for backward compatibility. This option has no effect. --unzip-setuptools DEPRECATED. Retained only for backward compatibility. This option has no effect.
SQL Dicas & Truques (versão 0.1)
DesignCap - Ferramenta de design gráfico para leigos
Como baixar vídeos do Facebook via terminal
RapidScan - Multi-Tool WEB Vulnerability Scanner
Clicador automático de Tinder com Python
ISO8583py - Utilizando Python para o tratamento de mensagens ISO8583
Python - Uma linguagem orientada a objetos
Nenhum comentário foi encontrado.
Desenvolvedor Java - pleno (0)
Analista de sistemas pleno (0)
Semana da Programação Shell Linux, com o Prof. Julio Neves (1)
Rodando um aplicativo em modo Kiosk no Ubuntu Linux 20.04
Instalação do Gentoo em HD Externo para dual boot com Windows
Instalação do OCS Inventory (última versão, 2.9.2 - 2022) no Debian 11
VOIP - Interceptando tráfego de pacotes
Sistemas de proteção de acesso a dados do seu HD, será efetivo?
Arduino IDE não reconhece portas USB no Ubuntu 22.04
Passando parâmetros do cliente SSH para o GIT
Auto indentar linhas selecionadas no Vim
Som estourado ou falhando na Steam com Proton
Habilitando a compilação JIT (Just In Time) para o PHP8 no Ubuntu
Problema ao acessar pasta comparilhada no Linux em dual boot. (1)
Pente de memória funciona em um pc, mas não em outro. (2)
Qual o melhor ambiente grafico para criar uma Game Station? (2)