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
Configurando e usando um ambiente de desenvolvi...
Search
Hugo Maia Vieira
November 12, 2011
Programming
89
2
Share
Configurando e usando um ambiente de desenvolvimento Python
Hugo Maia Vieira
November 12, 2011
More Decks by Hugo Maia Vieira
See All by Hugo Maia Vieira
Introdução ao Shell Script (versão estendida)
hugomaiavieira
0
46
Introdução ao git
hugomaiavieira
1
160
Como empreender quando se ainda é um estudante
hugomaiavieira
0
44
Introdução ao Shell Script
hugomaiavieira
2
240
Coding Dojo
hugomaiavieira
1
91
Licenças: Entendendo e Escolhendo
hugomaiavieira
1
47
Other Decks in Programming
See All in Programming
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
670
GNU Makeの使い方 / How to use GNU Make
kaityo256
PRO
16
5.6k
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
200
おれのAgentic Coding 2026/03
tsukasagr
1
140
10 Tips of AWS ~Gen AI on AWS~
licux
5
280
セグメントとターゲットを意識するプロポーザルの書き方 〜採択の鍵は、誰に刺すかを見極めるマーケティング戦略にある〜
m3m0r7
PRO
0
460
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
160
Running Swift without an OS
kishikawakatsumi
0
750
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
150
Rethinking API Platform Filters
vinceamstoutz
0
11k
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
5
2.5k
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
130
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
310
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Are puppies a ranking factor?
jonoalderson
1
3.3k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
120
Paper Plane
katiecoart
PRO
1
49k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
320
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.7k
Transcript
Configurando e usando um ambiente de desenvolvimento Hugo Maia Vieira
@hugomaiavieira Maio de 2010 Esta obra é licenciada sob uma licença Creative Commons
Distribute
$ wget http://python-distribute.org/distribute_setup.py $ sudo python distribute_setup.py Instalando
pip
$ sudo easy_install pip Instalando
$ pip install pacote_qualquer $ pip install -e git+http://github.com/hugobr/should_dls
$ pip install -U pacote_qualquer
$ pip uninstall pacote_qualquer
$ pip search alguma_coisa
$ pip freeze PyYAML==3.09 figleaf==0.6.1 freshen==0.2 ipython==0.10 nose==0.11.3 pinocchio==0.2 pyparsing==1.5.2
should-dsl==1.2.1 specloud==0.3.1 termcolor==0.1.2 wsgiref==0.1.2
Virtualenv
$ sudo pip install virtualenv Instalando
Virtualenvwrapper
$ sudo pip install virtualenvwrapper $ mkdir $HOME/.virtualenvs $ echo
"export WORKON_HOME=\$HOME/.virtualenvs" >> $HOME/.bashrc $ echo "source /usr/local/bin/virtualenvwrapper.sh" >> $HOME/.bashrc $ source $HOME/.bashrc Instalando
$ mkvirtualenv --no-site-packages meu_ambiente
$ rmvirtualenv meu_ambiente
$ cpvirtualenv existente cópia
$ workon meu_ambiente trabalho_icg ambiente2 $ workon ambiente2 (ambiente2)$
(ambiente2)$ (ambiente2)$ deactivate $
Virutalenvwrapper Hooks
$ echo 'pip install -U pip' >> $WORKON_HOME/postmkvirtualenv $ echo
'pip install ipython nose' >> $WORKON_HOME/postmkvirtualenv postmkvirtualenv
Referências [1] http://packages.python.org/distribute/ [2] http://pip.openplans.org/ [3] http://pypi.python.org/pypi/virtualenv [4] http://www.doughellmann.com/docs/virtualenvwrapper/ [5]
http://hltbra.blogspot.com/2010/05/gerenciando-ambientes-virtuais-e.html