Advertisement
Guest User

Untitled

a guest
Jul 1st, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #!/usr/bin/env python3
  2.  
  3. def main():
  4. ...
  5.  
  6. if __name__ == '__main__':
  7. import sys, subprocess
  8. dependencies = ['abc', 'def']
  9. subprocess.call([sys.executable, '-m', 'pip', 'install'] + dependencies)
  10. main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement