Skip to content

Commit 43f2cec

Browse files
tring fix for file not found
1 parent 043ae1a commit 43f2cec

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

pica/main.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,10 @@ class PICALauncherApp:
103103
FONT_INFO = ('Segoe UI', FONT_SIZE_BASE)
104104
FONT_INFO_ITALIC = ('Segoe UI', FONT_SIZE_BASE, 'italic')
105105
LOGO_FILE = resource_path("assets/LOGO/UGC_DAE_CSR_NBG.jpeg")
106-
MANUAL_FILE = resource_path("../docs/Instruments_Manuals_Lists.md")
107-
README_FILE = resource_path("../README.md")
108-
LICENSE_FILE = resource_path("../LICENSE")
109-
UPDATES_FILE = resource_path("../CHANGELOG.md")
106+
MANUAL_FILE = resource_path("docs/Instruments_Manuals_Lists.md")
107+
README_FILE = resource_path("README.md")
108+
LICENSE_FILE = resource_path("LICENSE")
109+
UPDATES_FILE = resource_path("CHANGELOG.md")
110110
REPO_URL = "https://github.com/prathameshnium/PICA-Python-Instrument-Control-and-Automation/tree/main"
111111
LOGO_SIZE = 140
112112

@@ -122,7 +122,7 @@ class PICALauncherApp:
122122
"K2400_2182 I-V": resource_path("keithley/k2400_2182/IV_K2400_K2182_GUI.py"),
123123
"K2400_2182 R-T": resource_path("keithley/k2400_2182/RT_K2400_K2182_T_Control_GUI.py"),
124124
"K2400_2182 R-T (T_Sensing)": resource_path(
125-
"keithley/k2400_2182/RT_K2400_2182_L350_T_Sensing_GUI.py"),
125+
"keithley/k2400_2182/RT_K2400_K2182_L350_T_Sensing_GUI.py"),
126126
"K6517B I-V": resource_path("keithley/k6517b/High_Resistance/IV_K6517B_GUI.py"),
127127
"K6517B R-T": resource_path("keithley/k6517b/High_Resistance/RT_K6517B_L350_T_Control_GUI.py"),
128128
"K6517B R-T (T_Sensing)": resource_path("keithley/k6517b/High_Resistance/RT_K6517B_L350_T_Sensing_GUI.py"),
@@ -131,7 +131,7 @@ class PICALauncherApp:
131131
"Lakeshore Temp Monitor": resource_path("lakeshore/T_Sensing_L350_GUI.py"),
132132
"LCR C-V Measurement": resource_path("keysight/CV_KE4980A_GUI.py"),
133133
"Plotter Utility": resource_path("utils/PlotterUtil_GUI.py"),
134-
"PICA Help": resource_path("../README.md"),
134+
"PICA Help": resource_path("README.md"),
135135
}
136136

137137
def __init__(self, root):

setup.cfg

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[options]
2+
include_package_data = True
3+
4+
[options.packages.find]
5+
where = .
6+
7+
[options.package_data]
8+
pica =
9+
../README.md
10+
../LICENSE
11+
../CHANGELOG.md
12+
../CONTRIBUTING.md
13+
../docs/User_Manual.md
14+
../docs/Instruments_Manuals_Lists.md

0 commit comments

Comments
 (0)