Make Qmake copy package files instead of OS scripts

Described in commit 97e203fd89e7cb54c7ce96ce779b2e8cb6ac1374

The python functions are no longer needed since the python script
doesn't handle file copy any more.
This commit is contained in:
Vasily
2019-07-24 10:54:55 +02:00
committed by username223
parent 46c8a62565
commit b5d69c589c
4 changed files with 5 additions and 44 deletions
-5
View File
@@ -117,11 +117,6 @@ def deploy():
say("windeployqt added to file.")
say("Copying necessary files:")
#openvr dll
copy_file(get_project_dir() + "\\third-party\\openvr\\bin\\win64\\openvr_api.dll", get_deploy_dir() + "\\openvr_api.dll")
say("Creating batch file:")
create_batch_file()
say("Batch file created.")
-37
View File
@@ -5,8 +5,6 @@ import os
import sys
import argparse
import subprocess
import shutil
import distutils.dir_util
import string
def get_version_string():
@@ -210,39 +208,4 @@ def get_original_dir():
def get_deploy_dir():
return DEPLOY_DIR
def copy_file(src, dest):
"""Copies a file and outputs status to console."""
say(f"Copying {src} to {dest}")
shutil.copy(src, dest)
say(f"{src} to {dest} copied.")
def copy_folder(src, dest):
"""Copies a folder and outputs status to console."""
say(f"Copying {src} to {dest}")
distutils.dir_util.copy_tree(src, dest)
say(f"{src} to {dest} copied.")