Skip to content

Conversation

@messense
Copy link
Contributor

@messense messense commented Jul 2, 2015

  1. Add requirements.txt as pre-requirements to dev-requirements.txt.
  2. Add autoenv .env file to activate virtualenv automatically

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我当时把requirements.txt和dev-requirements.txt分开的原因. 就是希望想跑起来firefly的人 和想去给firefly贡献代码, 开发它的人区分开. 也就是一个人可能不需要安装dev-requirements.txt的东西

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里的做法是把 requirements.txt 作为 dev-requirements.txt 的前置要求,并不影响希望想跑起来firefly的人啊,他们还是直接 pip install -r requirements.txt。但对开发它的人来说只要 pip install -r dev-requirements.txt 一下 dev 和 requirements.txt 的东西都装好了,否则还得装好几次。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

开发它的人肯定 dev 和 requirements.txt 的东西都得装吧。

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个时候 呼唤万能的组成员 @halfcrazy @mozillazg

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dongweiming 我同意 @messense 说的,安装dev-requirements的人也会去安装requirements

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好.

@dongweiming
Copy link
Contributor

刚才去看了下autoenv #TIL

dongweiming added a commit that referenced this pull request Jul 2, 2015
Development settings update
@dongweiming dongweiming merged commit d9bdae4 into python-cn:master Jul 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants