File: config.py

package info (click to toggle)
python-pweave 0.25-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 908 kB
  • sloc: python: 30,007; makefile: 3
file content (33 lines) | stat: -rw-r--r-- 966 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Moved globals from Pweb, check to see after move each for invalid references!


rcParams = {"figdir": "figures",
            "usematplotlib": True,
            "storeresults": False,
            "cachedir": 'cache',
            "shell_path": "python",
            "chunk": {"defaultoptions": {
                "echo": True,
                "results": 'verbatim',
                "fig": True,
                "include": True,
                "evaluate": True,
                "caption": False,
                "term": False,
                "name": None,
                "wrap": True,
                "f_pos": "htpb",
                "f_size": (8, 6),
                "f_env": None,
                "f_spines": True,
                "complete": True,
                "engine": "python",
                "option_string": "",
            }
            }
}


class PwebProcessorGlobals(object):
    """A class to hold the globals used in processors"""
    globals = {}