optionally override name generated by setup
This commit is contained in:
parent
bd3de84cbf
commit
a1e53ad85c
|
@ -92,15 +92,17 @@ class Setup:
|
|||
translation += " " + line + "\n"
|
||||
return translation
|
||||
|
||||
def setup(self, windows=[], options={}):
|
||||
def setup(self, windows=[], options={}, name=None):
|
||||
print("running setup...")
|
||||
self.remove_old_mainfest()
|
||||
config = self.config.get_section("setup")
|
||||
scripts = []
|
||||
if config["init-script"]:
|
||||
scripts.append(config["init-script"])
|
||||
if name is None:
|
||||
name = self.translate_title()
|
||||
setup(cmdclass={"install": insert_resource_path},
|
||||
name=self.translate_title(),
|
||||
name=name,
|
||||
packages=self.build_package_list(),
|
||||
scripts=scripts,
|
||||
data_files=self.build_data_map(),
|
||||
|
|
Loading…
Reference in New Issue