We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc256e9 commit 04af13eCopy full SHA for 04af13e
fabfile.py
@@ -14,6 +14,7 @@
14
def env(lang='python2.7'):
15
if path.exists(VENV_DIR):
16
local('rm -rf {env}'.format(env=VENV_DIR))
17
+ local('pip install virtualenv')
18
local('python -m virtualenv -p {lang} {env}'.format(lang=lang, env=VENV_DIR))
19
20
@@ -32,6 +33,10 @@ def make():
32
33
local('pip install -r requirements.txt')
34
local('python setup.py build_ext --inplace')
35
36
+def sdist():
37
+ with virtualenv(VENV_DIR):
38
+ with lcd(path.dirname(__file__)):
39
+ local('python setup.py sdist')
40
41
def clean():
42
with lcd(path.dirname(__file__)):
0 commit comments