Skip to content

Commit e0a0553

Browse files
committed
Remove xrfclk file installation
1 parent 69277cc commit e0a0553

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

rfsoc_qpsk/__main__.py

-16
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,6 @@ def install():
3838
logfile = os.path.abspath(os.path.join(os.path.realpath(__file__), '..', 'install.txt'))
3939
with open(logfile, 'w') as f:
4040
f.write(dst)
41-
install_xrfclk_files()
42-
43-
def install_xrfclk_files():
44-
src = os.path.abspath(os.path.join(os.path.realpath(__file__), '..', package_name, 'xrfclk'))
45-
if os.path.exists(src):
46-
dst = os.path.abspath(os.path.join(os.path.realpath(__file__), '..', '..', 'xrfclk'))
47-
for file in os.listdir(src):
48-
shutil.copyfile(os.path.join(src, file), os.path.join(dst, file))
49-
50-
def uninstall_xrfclk_files():
51-
src = os.path.abspath(os.path.join(os.path.realpath(__file__), '..', package_name, 'xrfclk'))
52-
if os.path.exists(src):
53-
dst = os.path.abspath(os.path.join(os.path.realpath(__file__), '..', '..', 'xrfclk'))
54-
for file in os.listdir(src):
55-
os.remove(os.path.join(dst, file))
5641

5742
def uninstall():
5843
logfile = os.path.abspath(os.path.join(os.path.realpath(__file__), '..', 'install.txt'))
@@ -64,7 +49,6 @@ def uninstall():
6449
raise RuntimeError('Package is not installed. Nothing has been removed.\r\n')
6550
shutil.rmtree(dst)
6651
os.remove(logfile)
67-
uninstall_xrfclk_files()
6852

6953
def clean():
7054
uninstall()

0 commit comments

Comments
 (0)