Git Product home page Git Product logo

ambientepadrao-python's Introduction

Ambiente de Desenvolvimento Python

Tutorial de instalação

Clone o repositório com:

git clone https://github.com/cwtshh/AmbientePadrao-Python.git

Após isso teremos os seguintes arquivos.

  • .gitignore - arquivo usado para ignorar o venv (upar um venv no github não é uma boa ideia).
  • requirements.txt - arquivo com os pacotes instalados no venv.

1- Com o repositório preparado, devemos criar um ambiente de desenvolvimento dentro da pasta que acabamos de clonar.

> python -m venv <nomeDoAmbiente>

Exemplo:

> python -m venv ambiente_padrao

2- Vamos acessar o bash do venv para sincronizar as bibliotecas com o repositório.

> .\<nome_do_ambiente>\Scripts\activate

Ou

> .\<nome_do_ambiente>\Scripts\activate.bat

3- Para instalar as bibliotecas usamos:

> pip install -r requirements.txt

4- Por ultimo mudamos o interpretador para o python presente no venv

No VsCode

Pressione ctrl + shift + p e digite

> Select Interpreter

Clique em:

Enter interpreter path

Navege até o venv e selecione o arquivo python.exe. Geralmente está localizado em:

.\<nome_do_ambiente>\Scripts\python.exe

Pronto! Está tudo certo para usar.

ambientepadrao-python's People

Contributors

cwtshh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.