Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions scripts/export-generated
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
#! /usr/bin/env python
#!/usr/bin/env python2.7
from __future__ import absolute_import, division, print_function, unicode_literals

import argparse
import errno
import glob
import os
import shutil
import subprocess
import sys

Expand Down
4 changes: 2 additions & 2 deletions stone.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def runStoneGenerator(StoneConfig config,
if (config.dataTypesOnly) {
project.exec {
standardOutput = new FileOutputStream(logFile)
commandLine "python", "-m", "stone.cli"
commandLine "python2.7", "-m", "stone.cli"

environment PYTHONPATH: stoneDir.absolutePath
args "--clean-build"
Expand All @@ -71,7 +71,7 @@ def runStoneGenerator(StoneConfig config,

project.exec {
standardOutput = new FileOutputStream(logFile, append)
commandLine "python", "-m", "stone.cli"
commandLine "python2.7", "-m", "stone.cli"

environment PYTHONPATH: stoneDir.absolutePath
if (isFirst) {
Expand Down