Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
sphuber committed Oct 26, 2024
1 parent 23150a2 commit a525125
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions circus/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ def load_virtualenv(watcher, py_ver=None):
py_ver = "%s.%s" % sys.version_info[:2]

def determine_sitedir():
import os
try_dirs = ['python', 'pypy']
tried_dirs = []
for try_dir in try_dirs:
Expand All @@ -881,6 +882,8 @@ def determine_sitedir():
if os.path.exists(_sitedir):
return _sitedir

print("ls venv", os.listdir(os.path.join(watcher.virtualenv)))
print("ls venv/lib", os.listdir(os.path.join(watcher.virtualenv, 'lib')))
raise ValueError("%s does not exist" % ','.join(tried_dirs))

sitedir = determine_sitedir()
Expand Down

0 comments on commit a525125

Please sign in to comment.