Skip to content

Commit

Permalink
add windows-install-dependencies.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ihaveamac committed Jul 23, 2020
1 parent 034458b commit 10c0d9a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions windows-install-dependencies.py
@@ -0,0 +1,13 @@
# This is meant to be double-clicked from File Explorer.

# This doesn't import pip as a module in case the way it's executed changes, which it has in the past.
# Instead we call it like we would in the command line.

from subprocess import run
from os.path import dirname, join
from sys import executable

root_dir = dirname(__file__)

run([executable, '-m', 'pip', 'install', '--user', '-r', join(root_dir, 'requirements-win32.txt')])
input('Press enter to close')

0 comments on commit 10c0d9a

Please sign in to comment.