forked from Lenty/SLiCAP_python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSLiCAPtemplate.py
More file actions
25 lines (22 loc) · 1.04 KB
/
SLiCAPtemplate.py
File metadata and controls
25 lines (22 loc) · 1.04 KB
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
#!/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
>>> 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
NETLIST = 'lepton-netlist -g spice-noqsi' # Command for netlist generation with gschem or lepton-eda