Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
make + pip + pip-tools
Search
Caio Carrara
August 03, 2019
Programming
0
65
make + pip + pip-tools
Slides da lighting apresentada no meetup Python Floripa na Hostgator
Caio Carrara
August 03, 2019
Tweet
Share
More Decks by Caio Carrara
See All by Caio Carrara
Pythonic OOP pt. 1
cacarrara
1
220
Python para web 101
cacarrara
1
93
Python @classmethod
cacarrara
0
130
Anti-patterns - o que são e como se livrar deles em Python
cacarrara
1
190
Distributed Systems of Microservices using Docker and Serfnode
cacarrara
0
120
Revisão de Código - Desafios, soluções e experiências
cacarrara
0
250
Viés Algorítmico
cacarrara
0
86
Pyramid e uma questão de interface
cacarrara
0
58
Tecnologia da Informação: carreira e mercado
cacarrara
1
86
Other Decks in Programming
See All in Programming
AWS で実現する安全な AI エージェントの作り方 〜 Bedrock Engineer の実装例を添えて 〜 / how-to-build-secure-ai-agents
gawa
8
860
note の Elasticsearch 更新系を支える技術
tchov
0
150
エンジニアが挑む、限界までの越境
nealle
1
270
Jakarta EE Meets AI
ivargrimstad
0
230
MCP調べてみました! / Exploring MCP
uhzz
2
2.3k
Ruby's Line Breaks
yui_knk
2
1.3k
Orleans + Sekiban + SignalR でリアルタイムWeb作ってみた
tomohisa
0
120
「”誤った使い方をすることが困難”な設計」で良いコードの基礎を固めよう / phpcon-odawara-2025
taniguhey
0
170
Dissecting and Reconstructing Ruby Syntactic Structures
ydah
1
840
Deoptimization: How YJIT Speeds Up Ruby by Slowing Down / RubyKaigi 2025
k0kubun
0
1.3k
AI Coding Agent Enablement - エージェントを自走させよう
yukukotani
14
6.2k
小田原でみんなで一句詠みたいな #phpcon_odawara
stefafafan
0
350
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Language of Interfaces
destraynor
157
25k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Building Adaptive Systems
keathley
41
2.5k
A Tale of Four Properties
chriscoyier
158
23k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.1k
Designing Experiences People Love
moore
141
24k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Transcript
1 / 20 make + pip + pip-tools caiocarrara.com.br
2 / 20 make + pip + pip-tools • Necessidade:
– Gerenciar dependências Python • Contexto: – Aplicações server side
3 / 20 make + pip + pip-tools Necessidade: Gerenciar
dependências Python Contexto: Aplicações server side ONLY
4 / 20 AVISO
5 / 20
6 / 20 make + pip + pip-tools • Princípios:
– Do one thing and do it well – DOTADIW (Unix) – Se apoiar no ombro de gigantes – Não perder ou complicar o controle das coisas – Manter as coisas o mais simples possível
7 / 20 make + pip + pip-tools • O
que eu quero: – Especificar e rastrear as dependências do meu projeto – (Re)Instalar as dependências
8 / 20 make + pip + pip-tools • O
que eu não quero: – Rodar scripts/programas Python – Criar pacotes Python para distribuir – Criar/editar/mexer no virtual environment
9 / 20 make + pip + pip-tools
10 / 20 make + pip + pip-tools • make
– Executar as ações/tarefas • pip – Instalar os pacotes Python • pip-tools – Ajudante para lock and sync
11 / 20 pip pip install [package] pip install django
pip install requests pip install pytest
12 / 20 pip
13 / 20 pip pip freeze > requirements.txt celery==4.3.0 Click==7.0
Django==2.2.4 requests==2.22.0
14 / 20 pip-tools requirements.in flask
15 / 20 pip-tools
16 / 20 make • Makefile
17 / 20 make • Makefile
18 / 20 make • Commands: make test make run
make shell make test-coverage
19 / 20 make + pip + pip-tools
20 / 20 Obrigado • Make – https://www.gnu.org/software/make/ • Pip
– https://pip.pypa.io/en/stable/ • Pip-Tools – https://github.com/jazzband/pip-tools caiocarrara.com.br speakerdeck.com/cacarrara