Commits

mitar committed 45bbfc8

Moving scripts.

Comments (0)

Files changed (2)

post_install_script.py

-import distutils
-import distutils.sysconfig
-import sys
-import os
-
-if len(sys.argv) <= 1 or len(sys.argv) > 1 and "remove" not in sys.argv[1]:
-    try:
-        print "Downloading essential genomics databases"
-        if sys.platform == "win32":
-            os.system("start " + sys.prefix+"""\\python.exe -c "import orngServerFiles; orngServerFiles.update_by_tags(tags=['essential'])" """)
-        else:
-            import orngServerFiles
-            orngServerFiles.update_by_tags(tags=["essential"])
-    except Exception, ex:
-        print ex
-        pass
-
-    print "To download and/or update the databases needed by Orange"
-    print "Bioinformatics please use the \"Update Genomics Databases\""
-    print "widget in Orange Canvas or use the orngServerFiles module:"
-    print
-    print "    import orngServerFiles"
-    print "    orgnServerFiles.consoleupdate()"
-    print

scripts/download_datasets.py

+import distutils
+import distutils.sysconfig
+import sys
+import os
+
+if len(sys.argv) <= 1 or len(sys.argv) > 1 and "remove" not in sys.argv[1]:
+    try:
+        print "Downloading essential genomics databases"
+        if sys.platform == "win32":
+            os.system("start " + sys.prefix+"""\\python.exe -c "import orngServerFiles; orngServerFiles.update_by_tags(tags=['essential'])" """)
+        else:
+            import orngServerFiles
+            orngServerFiles.update_by_tags(tags=["essential"])
+    except Exception, ex:
+        print ex
+        pass
+
+    print "To download and/or update the databases needed by Orange"
+    print "Bioinformatics please use the \"Update Genomics Databases\""
+    print "widget in Orange Canvas or use the orngServerFiles module:"
+    print
+    print "    import orngServerFiles"
+    print "    orgnServerFiles.consoleupdate()"
+    print
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.