Skip to content

Commit 4be8cd6

Browse files
committed
enchance
1 parent 9531757 commit 4be8cd6

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
### 邮件订阅
2929
* [python weekly](http://www.pythonweekly.com/)
3030

31-
# 在sublime中运行python
31+
## 在sublime中运行python
3232
“Preference(首选项)”-----》“Browse Packages(浏览程序包)”----------》“python”,在打开的目录中修改Python.sublime-build文件类似如下
3333
```
3434
{
@@ -38,3 +38,22 @@
3838
}
3939
```
4040
然后,Python文件就可以`ctrl/Command + b`来运行
41+
42+
## 包管理
43+
可以使用 [pip](https://pip.pypa.io/en/latest/user_guide.html)进行包管理。
44+
1. 项目根路径下创建`requirements.txt`
45+
1. 内容类似例如
46+
```
47+
MyApp
48+
Framework==0.9.4
49+
Library>=0.2
50+
```
51+
1. 然后执行 `pip install -r requirements.txt`
52+
53+
具体产看 https://pip.readthedocs.org/en/1.1/requirements.html
54+
55+
### python版本管理
56+
virtualenv
57+
58+
### 自动化远程部署项目
59+
* [fabric](http://www.fabfile.org/en/latest/)

0 commit comments

Comments
 (0)