|
@@ -52,7 +52,7 @@ def getPackages():
|
|
|
# we're running from the directory above all of the source
|
|
# we're running from the directory above all of the source
|
|
|
# trees; look within these directories for the *.pth files.
|
|
# trees; look within these directories for the *.pth files.
|
|
|
|
|
|
|
|
- searchstr = os.path.join('*', 'etc', '*.pth')
|
|
|
|
|
|
|
+ searchstr = os.path.join('*', 'src', 'configfiles', '*.pth')
|
|
|
filenames = glob.glob(searchstr)
|
|
filenames = glob.glob(searchstr)
|
|
|
if len(filenames) == 0:
|
|
if len(filenames) == 0:
|
|
|
print ''
|
|
print ''
|
|
@@ -61,7 +61,7 @@ def getPackages():
|
|
|
print ''
|
|
print ''
|
|
|
|
|
|
|
|
for filename in filenames:
|
|
for filename in filenames:
|
|
|
- tree = os.path.dirname(os.path.dirname(filename))
|
|
|
|
|
|
|
+ tree = os.path.dirname(os.path.dirname(os.path.dirname(filename)))
|
|
|
readpth(tree, filename)
|
|
readpth(tree, filename)
|
|
|
|
|
|
|
|
else:
|
|
else:
|