mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 17:57:55 -06:00
Fixed typo ("coping" -> "copying")
This commit is contained in:
parent
fcff00e9da
commit
98a05ae483
1 changed files with 6 additions and 6 deletions
12
setup.py
12
setup.py
|
@ -51,24 +51,24 @@ setup(name="Cura",
|
||||||
#console=[{"script": "cura_app.py"}],
|
#console=[{"script": "cura_app.py"}],
|
||||||
options={"py2exe": {"skip_archive": False, "includes": includes}})
|
options={"py2exe": {"skip_archive": False, "includes": includes}})
|
||||||
|
|
||||||
print("Coping Cura plugins.")
|
print("Copying Cura plugins.")
|
||||||
shutil.copytree(os.path.dirname(UM.__file__) + "/../plugins", "dist/plugins", ignore = shutil.ignore_patterns("ConsoleLogger", "OBJWriter", "MLPWriter", "MLPReader"))
|
shutil.copytree(os.path.dirname(UM.__file__) + "/../plugins", "dist/plugins", ignore = shutil.ignore_patterns("ConsoleLogger", "OBJWriter", "MLPWriter", "MLPReader"))
|
||||||
for path in os.listdir("plugins"):
|
for path in os.listdir("plugins"):
|
||||||
copytree("plugins/" + path, "dist/plugins/" + path)
|
copytree("plugins/" + path, "dist/plugins/" + path)
|
||||||
print("Coping resources.")
|
print("Copying resources.")
|
||||||
copytree(os.path.dirname(UM.__file__) + "/../resources", "dist/resources")
|
copytree(os.path.dirname(UM.__file__) + "/../resources", "dist/resources")
|
||||||
copytree("resources", "dist/resources")
|
copytree("resources", "dist/resources")
|
||||||
print("Coping Uranium QML.")
|
print("Copying Uranium QML.")
|
||||||
shutil.copytree(os.path.dirname(UM.__file__) + "/Qt/qml/UM", "dist/qml/UM")
|
shutil.copytree(os.path.dirname(UM.__file__) + "/Qt/qml/UM", "dist/qml/UM")
|
||||||
for site_package in site.getsitepackages():
|
for site_package in site.getsitepackages():
|
||||||
qt_origin_path = os.path.join(site_package, "PyQt5")
|
qt_origin_path = os.path.join(site_package, "PyQt5")
|
||||||
if os.path.isdir(qt_origin_path):
|
if os.path.isdir(qt_origin_path):
|
||||||
print("Coping PyQt5 plugins from: %s" % qt_origin_path)
|
print("Copying PyQt5 plugins from: %s" % qt_origin_path)
|
||||||
shutil.copytree(os.path.join(qt_origin_path, "plugins"), "dist/PyQt5/plugins")
|
shutil.copytree(os.path.join(qt_origin_path, "plugins"), "dist/PyQt5/plugins")
|
||||||
print("Coping PyQt5 QtQuick from: %s" % qt_origin_path)
|
print("Copying PyQt5 QtQuick from: %s" % qt_origin_path)
|
||||||
shutil.copytree(os.path.join(qt_origin_path, "qml/QtQuick"), "dist/qml/QtQuick")
|
shutil.copytree(os.path.join(qt_origin_path, "qml/QtQuick"), "dist/qml/QtQuick")
|
||||||
shutil.copytree(os.path.join(qt_origin_path, "qml/QtQuick.2"), "dist/qml/QtQuick.2")
|
shutil.copytree(os.path.join(qt_origin_path, "qml/QtQuick.2"), "dist/qml/QtQuick.2")
|
||||||
print("Coping PyQt5 svg library from: %s" % qt_origin_path)
|
print("Copying PyQt5 svg library from: %s" % qt_origin_path)
|
||||||
shutil.copy(os.path.join(qt_origin_path, "Qt5Svg.dll"), "dist/Qt5Svg.dll")
|
shutil.copy(os.path.join(qt_origin_path, "Qt5Svg.dll"), "dist/Qt5Svg.dll")
|
||||||
print("Copying Angle libraries from %s" % qt_origin_path)
|
print("Copying Angle libraries from %s" % qt_origin_path)
|
||||||
shutil.copy(os.path.join(qt_origin_path, "libEGL.dll"), "dist/libEGL.dll")
|
shutil.copy(os.path.join(qt_origin_path, "libEGL.dll"), "dist/libEGL.dll")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue