Skip to content

Commit

Permalink
Windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
vollous committed May 6, 2024
1 parent 6fecd01 commit 777d99a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ def check_profile(profile):
if not os.path.isfile(conan_home + "/profiles/default"):
cmd = "conan profile detect".split()
subprocess.check_output(cmd)
cmd = "cp " + conan_home + "/profiles/default profiles/BSMPT/" + str(profile)
if (sys.platform != "win32"):
cmd = "cp " + conan_home + "/profiles/default profiles/BSMPT/" + str(profile)
else:
cmd = "copy " + conan_home + "\\profiles\\default profiles\\BSMPT\\" + str(profile)
subprocess.check_call(cmd, shell=True)
setup_profiles()
check_profile(profile)
Expand Down

0 comments on commit 777d99a

Please sign in to comment.