1
0
mirror of https://github.com/JoelBender/bacpypes synced 2025-09-28 22:15:23 +08:00

add the source folder to the version error

This commit is contained in:
Joel Bender 2015-07-16 07:33:25 -04:00
parent 19949b9cc2
commit ed79686abf

View File

@ -13,7 +13,7 @@ except ImportError:
version_info = sys.version_info[:2]
source_folder = "py" + str(version_info[0]) + str(version_info[1])
if not os.path.exists(source_folder):
raise EnvironmentError("unsupported version of Python")
raise EnvironmentError("unsupported version of Python, looking for " + repr(source_folder))
requirements = [
# no external requirements