diff options
| author | Stefan Seemayer <stefan@seemayer.de> | 2015-02-18 10:40:50 +0100 |
|---|---|---|
| committer | Stefan Seemayer <stefan@seemayer.de> | 2015-02-18 10:40:50 +0100 |
| commit | 18b585d265b6c64c28c59bc0c76ec1dcf0bb2d9c (patch) | |
| tree | 14cc0eccc6c2ef1d99a8a297e53935447039c1cf | |
| parent | 5299406bdd41438678be2cb5c36a5eea1bb47838 (diff) | |
Build from true release source tarball
This gets rid of the autoreconf step that will fail on linux
distributions with old autotools versions.
| -rw-r--r-- | setup.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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-jq-1.4") +jq_lib_dir = path_in_dir("jq-1.4") class jq_build_ext(build_ext): def run(self): if os.path.exists(tarball_path): os.unlink(tarball_path) - urlretrieve("https://github.com/stedolan/jq/archive/jq-1.4.tar.gz", tarball_path) + urlretrieve("https://stedolan.github.io/jq/download/source/jq-1.4.tar.gz", tarball_path) if os.path.exists(jq_lib_dir): shutil.rmtree(jq_lib_dir) @@ -65,7 +65,6 @@ 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"]) |
