diff --git a/dtool/pptempl/PythonPackageInit.pp b/dtool/pptempl/PythonPackageInit.pp index 1e911e8342..178f7e0b63 100755 --- a/dtool/pptempl/PythonPackageInit.pp +++ b/dtool/pptempl/PythonPackageInit.pp @@ -41,7 +41,7 @@ There are two cases: is crafted so that it will do no harm if it is installed. """ -package = '$[upcase $[notdir $[TOPDIR]]]' +package = '$[upcase $[PACKAGE]]' import os import sys