tweaks for install on ttown

This commit is contained in:
David Rose 2002-09-09 23:15:55 +00:00
parent f8a4a6f631
commit 8c52cab55e
2 changed files with 3 additions and 3 deletions

View File

@ -62,6 +62,6 @@ fi
if [ "$firstarg" = "install" ]; then
# as installed on a machine without ctattach etc.
exec bin/ppython -d bin/generatePythonCode -v -d lib/py -e ../direct/src/extensions -i libdtoolconfig libpandaexpress libpanda libpandaphysics libdirect $extra_genPyCode_libs
exec install/bin/ppython -d install/bin/generatePythonCode -v -d install/lib/py -e direct/src/extensions -i libdtoolconfig libpandaexpress libpanda libpandaphysics libdirect $extra_genPyCode_libs
exit 1
fi

View File

@ -52,7 +52,7 @@ def getPackages():
# we're running from the directory above all of the source
# 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)
if len(filenames) == 0:
print ''
@ -61,7 +61,7 @@ def getPackages():
print ''
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)
else: