Skip to content

Commit

Permalink
Save
Browse files Browse the repository at this point in the history
  • Loading branch information
anishathalye committed Dec 28, 2024
1 parent 6a37abf commit 5b4fcbd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bin/dotbot
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,16 @@ exit 1
# python code
import sys, os
import os
import sys
# this file is syntactically valid Python 2; bail out if the interpreter is Python 2
if sys.version_info[0] < 3:
print('error: this version of Dotbot is not compatible with Python 2:\nhttps://github.com/anishathalye/dotbot/wiki/Troubleshooting#python-2')
exit(1)
sys.exit(1)
if sys.version_info < (3, 7):
print('error: this version of Dotbot requires Python 3.7+')
exit(1)
sys.exit(1)
project_root_directory = os.path.dirname(
os.path.dirname(os.path.realpath(__file__)))
Expand Down

0 comments on commit 5b4fcbd

Please sign in to comment.