1. Yang Zhang
  2. pillar

Commits

Yang  committed 06d8a2b

revise update_req command

  • Participants
  • Parent commits e60a3c6
  • Branches master

Comments (0)

Files changed (1)

File fabfile.py

View file
     if not os.environ.get("VIRTUAL_ENV"):
         _warn("You are not in an Virtualenv, please activate it first")
         return
-    local("pip freeze > %s/pip_requirements.txt" % CURRENT_PATH)
+    local("pip freeze|grep -v distribute > %s/pip_requirements.txt" % CURRENT_PATH)
 
 def test():
     """Run nose test"""