-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathSLiCAPtemplate.py
executable file
·30 lines (27 loc) · 1.31 KB
/
SLiCAPtemplate.py
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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
SLiCAP module with settings defined on install, contains fixed parameters
Default parameters:
>>> VERSION = None # Version number
>>> SYSINSTALL = '' # System install path
>>> USERPATH = '' # User install path
>>> LIBCOREPATH = '' # Library install path
>>> DOCPATH = '' # Documentation install path
>>> MAXIMA = '' # Windows command for maxima
>>> LTSPICE = 'wine ~/.wine/drive_c/Program\ Files/LTC/LTspiceXVII/XVIIx64.exe -wine -netlist' # Command for netlist generation with LTspice
>>> KICAD = '' # Command for kicad-cli
>>> INKSCAPE = '' # Command for Inkscape
>>> NETLIST = 'lepton-netlist -g spice-noqsi' # Command for netlist generation with gschem or lepton-eda
"""
VERSION = '$VERSION'
SYSINSTALL = r'$SYSINSTALL'
USERPATH = r'$USERPATH'
LIBCOREPATH = r'$LIBCOREPATH'
DOCPATH = r'$DOCPATH'
MAXIMA = r'$MAXIMAPATH' # Windows command for maxima
LTSPICE = r'$LTSPICE' # Command for netlist generation with LTspice
NGSPICE = r'$NGSPICE' # Command for starting NGspice
KICAD = r'$KICAD' # Command for starting KiCad-cli
INKSCAPE = r'$INKSCAPE' # Command for starting Inkscape
NETLIST = 'lepton-netlist -g spice-noqsi' # Command for netlist generation with gschem or lepton-eda