Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- def main():
- ...
- if __name__ == '__main__':
- import sys, subprocess
- dependencies = ['abc', 'def']
- subprocess.call([sys.executable, '-m', 'pip', 'install'] + dependencies)
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement