diff --git a/direct/src/p3d/DeploymentTools.py b/direct/src/p3d/DeploymentTools.py index 6c96321b90..9bd73c034b 100644 --- a/direct/src/p3d/DeploymentTools.py +++ b/direct/src/p3d/DeploymentTools.py @@ -169,6 +169,7 @@ class Installer: self.licensename = "" self.authorid = "org.panda3d" self.authorname = "" + self.authoremail = "" self.licensefile = Filename() self.standalone = Standalone(p3dfile, tokens) self.http = self.standalone.http @@ -374,6 +375,7 @@ class Installer: controlfile = open(Filename(tempdir, "control").toOsSpecific(), "w") print >>controlfile, "Package: %s" % self.shortname.lower() print >>controlfile, "Version: %s" % self.version + print >>controlfile, "Maintainer: %s <%s>" % (self.authorname, self.authoremail) print >>controlfile, "Section: games" print >>controlfile, "Priority: optional" print >>controlfile, "Architecture: %s" % arch diff --git a/direct/src/p3d/pdeploy.py b/direct/src/p3d/pdeploy.py index 99e1de6e53..5682708eb8 100644 --- a/direct/src/p3d/pdeploy.py +++ b/direct/src/p3d/pdeploy.py @@ -104,6 +104,9 @@ Options: -A "Your Company" Full name of the author of the application. + -e "you@your_company.com" + E-mail address of the maintainer of the application. + -h Display this help @@ -133,10 +136,11 @@ licensename = "" licensefile = Filename() authorid = "" authorname = "" +authoremail = "" includeRequires = False try: - opts, args = getopt.getopt(sys.argv[1:], 'n:N:v:o:t:P:csl:L:a:A:h') + opts, args = getopt.getopt(sys.argv[1:], 'n:N:v:o:t:P:csl:L:a:A:e:h') except getopt.error, msg: usage(1, msg) @@ -166,7 +170,9 @@ for opt, arg in opts: authorid = arg.strip() elif opt == '-A': authorname = arg.strip() - + elif opt == '-e': + authoremail = arg.strip() + elif opt == '-h': usage(0) else: @@ -236,6 +242,7 @@ elif deploy_mode == 'installer': i.licensefile = licensefile i.authorid = authorid i.authorname = authorname + i.authoremail = authoremail i.includeRequires = includeRequires if currentPlatform: