Changeset 35f995c for wscript


Ignore:
Timestamp:
Mar 23, 2017, 4:55:13 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler
Children:
27fdf81
Parents:
38f3d04
Message:

this_version.py: always return a string, not unicode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r38f3d04 r35f995c  
    426426        if 'MANDIR' not in bld.env:
    427427            bld.env['MANDIR'] = bld.env['DATAROOTDIR'] + '/man'
    428         bld.env.VERSION = str(VERSION)
     428        bld.env.VERSION = VERSION
    429429        rule_str = '${TXT2MAN} -t `basename ${TGT} | cut -f 1 -d . | tr a-z A-Z`'
    430430        rule_str += ' -r ${PACKAGE}\\ ${VERSION} -P ${PACKAGE}'
     
    457457    # note: build in ../doc/_build/html, otherwise waf wont install unsigned files
    458458    if bld.env['SPHINX']:
    459         bld.env.VERSION = str(VERSION)
     459        bld.env.VERSION = VERSION
    460460        bld( name = 'sphinx',
    461461                rule = '${SPHINX} -b html -D release=${VERSION} -D version=${VERSION} -a -q `dirname ${SRC}` `dirname ${TGT}`',
Note: See TracChangeset for help on using the changeset viewer.