Changeset c0c3f33


Ignore:
Timestamp:
Dec 10, 2016, 11:05:41 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
Children:
f4a5d37
Parents:
3aad0b1
Message:

Makefile: factorise pip options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r3aad0b1 rc0c3f33  
     1#!/usr/bin/make -f
     2# -*- makefile -*-
     3
    14WAFCMD=python waf
    25WAFURL=https://waf.io/waf-1.8.22
     
    1316WAFOPTS += $(shell [ -z $(HAVE_AUBIO_DOUBLE) ] || echo --enable-double )
    1417
     18PIPOPTS += --verbose
     19
    1520DESTDIR:=$(PWD)/build/dist
    1621PYDESTDIR:=$(PWD)/build/pydist
     
    98103deps_python:
    99104        # install or upgrade python requirements
    100         pip install --verbose --requirement requirements.txt
     105        pip install $(PIPOPTS) --requirement requirements.txt
    101106
    102107# use pip or distutils?
     
    108113install_python_with_pip:
    109114        # install package
    110         pip install --verbose .
     115        pip install $(PIPOPTS) .
    111116
    112117uninstall_python_with_pip:
     
    115120
    116121install_python_with_distutils:
    117         ./setup.py install $(DISTUTILSOPTS)
     122        ./setup.py install $(PIPOPTS) $(DISTUTILSOPTS)
    118123
    119124uninstall_python_with_distutils:
Note: See TracChangeset for help on using the changeset viewer.