mirror of
https://github.com/google/blockly.git
synced 2026-01-11 19:07:08 +01:00
Add warning to build if not using Python 2.
This commit is contained in:
7
build.py
7
build.py
@@ -35,7 +35,12 @@
|
||||
# dart_compressed.js: The compressed Dart generator.
|
||||
# msg/js/<LANG>.js for every language <LANG> defined in msg/js/<LANG>.json.
|
||||
|
||||
import errno, glob, httplib, json, os, re, subprocess, sys, threading, urllib
|
||||
import sys
|
||||
if sys.version_info[0] != 2:
|
||||
raise Exception("Blockly build only compatible with Python 2.x.\n"
|
||||
"You are using: " + sys.version)
|
||||
|
||||
import errno, glob, httplib, json, os, re, subprocess, threading, urllib
|
||||
|
||||
|
||||
def import_path(fullpath):
|
||||
|
||||
Reference in New Issue
Block a user