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
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
Offline should be the norm: building local-first apps with CRDTs & Kotlin Multiplatform
renaudmathieu
0
190
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
260
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
330
セグメントとターゲットを意識するプロポーザルの書き方 〜採択の鍵は、誰に刺すかを見極めるマーケティング戦略にある〜
m3m0r7
PRO
0
460
まかせられるPM・まかせられないPM / DevTech GUILD Meetup
yusukemukoyama
0
120
PHPで TLSのプロトコルを実装してみる
higaki_program
0
760
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
130
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
3
520
事業会社でのセキュリティ長期インターンについて
masachikaura
0
240
ハンズオンで学ぶクラウドネイティブ
tatsukiminami
0
120
Vibe하게 만드는 Flutter GenUI App With ADK , 박제창, BWAI Incheon 2026
itsmedreamwalker
0
550
PHPのバージョンアップ時にも役立ったAST(2026年版)
matsuo_atsushi
0
300
Featured
See All Featured
Skip the Path - Find Your Career Trail
mkilby
1
100
Marketing to machines
jonoalderson
1
5.2k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.2k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
190
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
180
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.3k
Ethics towards AI in product and experience design
skipperchong
2
250
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
68
38k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
870
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
170
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