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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Hugo Maia Vieira
November 12, 2011
Programming
92
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
48
Introdução ao git
hugomaiavieira
1
170
Como empreender quando se ainda é um estudante
hugomaiavieira
0
51
Introdução ao Shell Script
hugomaiavieira
2
250
Coding Dojo
hugomaiavieira
1
93
Licenças: Entendendo e Escolhendo
hugomaiavieira
1
51
Other Decks in Programming
See All in Programming
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
0
260
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
360
IBM Bobを活用したレガシーアプリの最新化
oniak3ibm
PRO
1
200
エンジニアと一緒にテストコードの設計と実装を改善した話
mototakatsu
0
210
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
120
AIで効率化できた業務・日常
ochtum
0
140
コンテキストの使い捨てをやめる — ビジネスルール駆動開発と miko —
ioki
0
210
Oxcを導入して開発体験が向上した話
yug1224
4
320
技術記事、 専門家としてのプログラマ、 言語化
mizchi
13
6.2k
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
710
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
210
Skillsは効率化、Agentsは"自分の拡張"——Builder時代のエージェント編成(CC Night 2026)
wemra
1
140
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
220
4 Signs Your Business is Dying
shpigford
187
22k
Music & Morning Musume
bryan
47
7.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
170
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Claude Code のすすめ
schroneko
67
230k
Docker and Python
trallard
47
3.9k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.4k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
210
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.8k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
260
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