summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-08-10 20:25:59 +0100
committerMichael Williamson <mike@zwobble.org>2015-08-10 20:27:00 +0100
commit6fbe9678689aafd476dd118f18e665cb7a71ebd7 (patch)
treea48d1c51ec00387d120b1c73be543e74d6f1a875 /setup.py
parentb403b0cc83438cd081f57c0e704bb398a0a4494e (diff)
Update link to source tarball, which now requires autoconf to build
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index d77512d..36bf4e9 100644
--- a/setup.py
+++ b/setup.py
@@ -29,13 +29,13 @@ def read(fname):
tarball_path = path_in_dir("_jq-lib-1.4.tar.gz")
-jq_lib_dir = path_in_dir("jq-1.4")
+jq_lib_dir = path_in_dir("jq-jq-1.4")
class jq_build_ext(build_ext):
def run(self):
if os.path.exists(tarball_path):
os.unlink(tarball_path)
- urlretrieve("https://stedolan.github.io/jq/download/source/jq-1.4.tar.gz", tarball_path)
+ urlretrieve("https://github.com/stedolan/jq/archive/jq-1.4.tar.gz", tarball_path)
if os.path.exists(jq_lib_dir):
shutil.rmtree(jq_lib_dir)
@@ -65,6 +65,7 @@ class jq_build_ext(build_ext):
if macosx_deployment_target:
os.environ['MACOSX_DEPLOYMENT_TARGET'] = macosx_deployment_target
+ command(["autoreconf", "-i"])
command(["./configure"] + configure_args)
command(["make"])