Changeset 5d8b0dd in rtems-docs for rtemsconfig/wscript


Ignore:
Timestamp:
02/12/19 23:18:43 (5 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
5, master
Children:
d721375
Parents:
ec95748
Message:

waf: Remove as many sys path hacks as we can.

There are still sys.path hacks in the conf.py files. They cannot
be removed because the instance of python running the sphinx-build
command does not see our top level path hacks. I looked at using
PYTHONPATH but I could not figure out how to set a process environ
var for a waf build instance.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rtemsconfig/wscript

    rec95748 r5d8b0dd  
    1 from sys import path
    2 from os.path import abspath
    3 path.insert(0, abspath('../common/'))
    4 
    5 from waf import cmd_configure as configure
    6 from waf import cmd_build as build
    7 from waf import cmd_options as options
    8 from waf import spell
    9 from waf import cmd_spell
    10 from waf import linkcheck
    11 from waf import cmd_linkcheck
     1from common.waf import cmd_configure as configure
     2from common.waf import cmd_build as build
     3from common.waf import cmd_options as options
     4from common.waf import spell
     5from common.waf import cmd_spell
     6from common.waf import linkcheck
     7from common.waf import cmd_linkcheck
Note: See TracChangeset for help on using the changeset viewer.