Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArjen Hiemstra <a.hiemstra@ultimaker.com>2015-09-03 20:13:08 +0300
committerArjen Hiemstra <a.hiemstra@ultimaker.com>2015-09-03 20:13:08 +0300
commit5ffe46cac65506b61049ed81776ddb163cf45538 (patch)
treee65dc5d27c63c90d956754e07e25afdf0f465eb2 /setup.py
parent4897c9392a776033121f4429ac11cc518b4204f3 (diff)
Fix setup.py to woprk for 15.10
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 08b1564c16..f5b3c3e106 100644
--- a/setup.py
+++ b/setup.py
@@ -5,6 +5,7 @@ from distutils.core import setup
import py2exe
import UM
import UM.Qt
+import cura
import os
import re
import shutil
@@ -22,7 +23,7 @@ def copytree(src, dst, symlinks=False, ignore=None):
else:
shutil.copy2(s, d)
-includes = ["sip", "ctypes", "UM", "PyQt5.QtNetwork", "PyQt5._QOpenGLFunctions_2_0", "serial", "Arcus", "google", "google.protobuf", "google.protobuf.descriptor", "xml.etree", "xml.etree.ElementTree", "cura"]
+includes = ["sip", "ctypes", "UM", "PyQt5.QtNetwork", "PyQt5._QOpenGLFunctions_2_0", "serial", "Arcus", "google", "google.protobuf", "google.protobuf.descriptor", "xml.etree", "xml.etree.ElementTree", "cura", "cura.OneAtATimeIterator"]
# Include all the UM modules in the includes. As py2exe fails to properly find all the dependencies due to the plugin architecture.
for dirpath, dirnames, filenames in os.walk(os.path.dirname(UM.__file__)):
if "__" in dirpath:
@@ -41,9 +42,9 @@ print("Removing previous distribution package")
shutil.rmtree("dist", True)
setup(name="Cura",
- version="15.05.97",
+ version="15.09.80",
author="Ultimaker",
- author_email="d.braam@ultimaker.com",
+ author_email="a.hiemstra@ultimaker.com",
url="http://software.ultimaker.com/",
license="GNU AFFERO GENERAL PUBLIC LICENSE (AGPL)",
scripts=["cura_app.py"],
@@ -54,9 +55,9 @@ setup(name="Cura",
print("Coping Cura plugins.")
shutil.copytree(os.path.dirname(UM.__file__) + "/../plugins", "dist/plugins", ignore = shutil.ignore_patterns("ConsoleLogger", "OBJWriter", "MLPWriter", "MLPReader"))
for path in os.listdir("plugins"):
- shutil.copytree("plugins/" + path, "dist/plugins/" + path)
+ copytree("plugins/" + path, "dist/plugins/" + path)
print("Coping resources.")
-shutil.copytree(os.path.dirname(UM.__file__) + "/../resources", "dist/resources")
+copytree(os.path.dirname(UM.__file__) + "/../resources", "dist/resources")
copytree("resources", "dist/resources")
print("Coping Uranium QML.")
shutil.copytree(os.path.dirname(UM.__file__) + "/Qt/qml/UM", "dist/qml/UM")