mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-05-10 10:49:50 +00:00
Compare commits
No commits in common. "c36fd8451294b911be93e102a3a4386e473507b5" and "11675197302df3e7125a395a861732f8803b9da2" have entirely different histories.
c36fd84512
...
1167519730
13
package.py
13
package.py
@ -43,15 +43,6 @@ def copy_files_to_package(destpath, packages, with_so):
|
|||||||
shutil.copy("run.py", op.join(destpath, "run.py"))
|
shutil.copy("run.py", op.join(destpath, "run.py"))
|
||||||
extra_ignores = ["*.so"] if not with_so else None
|
extra_ignores = ["*.so"] if not with_so else None
|
||||||
copy_packages(packages, destpath, extra_ignores=extra_ignores)
|
copy_packages(packages, destpath, extra_ignores=extra_ignores)
|
||||||
# include locale files if they are built otherwise exit as it will break
|
|
||||||
# the localization
|
|
||||||
if not op.exists("build/locale"):
|
|
||||||
print("Locale files are missing. Have you run \"build.py --loc\"? Exiting...")
|
|
||||||
return
|
|
||||||
# include help files if they are built otherwise exit as they should be included?
|
|
||||||
if not op.exists("build/help"):
|
|
||||||
print("Help files are missing. Have you run \"build.py --doc\"? Exiting...")
|
|
||||||
return
|
|
||||||
shutil.copytree(op.join("build", "help"), op.join(destpath, "help"))
|
shutil.copytree(op.join("build", "help"), op.join(destpath, "help"))
|
||||||
shutil.copytree(op.join("build", "locale"), op.join(destpath, "locale"))
|
shutil.copytree(op.join("build", "locale"), op.join(destpath, "locale"))
|
||||||
compileall.compile_dir(destpath)
|
compileall.compile_dir(destpath)
|
||||||
@ -161,11 +152,11 @@ def package_windows():
|
|||||||
# include locale files if they are built otherwise exit as it will break
|
# include locale files if they are built otherwise exit as it will break
|
||||||
# the localization
|
# the localization
|
||||||
if not op.exists("build/locale"):
|
if not op.exists("build/locale"):
|
||||||
print("Locale files are missing. Have you run \"build.py --loc\"? Exiting...")
|
print("Locale files not built, exiting...")
|
||||||
return
|
return
|
||||||
# include help files if they are built otherwise exit as they should be included?
|
# include help files if they are built otherwise exit as they should be included?
|
||||||
if not op.exists("build/help"):
|
if not op.exists("build/help"):
|
||||||
print("Help files are missing. Have you run \"build.py --doc\"? Exiting...")
|
print("Help files not built, exiting...")
|
||||||
return
|
return
|
||||||
# create version information file from template
|
# create version information file from template
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user