Compare commits

...

2 Commits
0.7.4 ... 0.7.5

Author SHA1 Message Date
4d82e31d40 [TAG] creata a new version 2015-10-20 23:39:12 +02:00
c913e19ccf [DEBUG] Correct creating directory of file when needed 2015-10-20 23:33:53 +02:00
3 changed files with 2 additions and 2 deletions

View File

@@ -91,6 +91,7 @@ def file_write_data(path, data, only_if_new=False):
if old_data == data:
return
#real write of data:
create_directory_of_file(path)
file = open(path, "w")
file.write(data)
file.close()

View File

@@ -110,7 +110,6 @@ class Target(target.Target):
data_file = "#!/bin/bash\n"
data_file += "# Simply open the real application in the correct way (a link does not work ...)\n"
data_file += "/Applications/" + pkg_name + ".app/Contents/MacOS/" + pkg_name + " $*\n"
#tmpFile.write("open -n /Applications/edn.app --args -AppCommandLineArg $*\n")
tools.file_write_data(os.path.join(target_outpath, "shell", pkg_name),
data_file,
only_if_new=True)

View File

@@ -7,7 +7,7 @@ def readme():
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
setup(name='lutin',
version='0.7.4',
version='0.7.5',
description='Lutin generic builder',
long_description=readme(),
url='http://github.com/HeeroYui/lutin',