@@ -38,21 +38,6 @@ def install():
38
38
logfile = os .path .abspath (os .path .join (os .path .realpath (__file__ ), '..' , 'install.txt' ))
39
39
with open (logfile , 'w' ) as f :
40
40
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 ))
56
41
57
42
def uninstall ():
58
43
logfile = os .path .abspath (os .path .join (os .path .realpath (__file__ ), '..' , 'install.txt' ))
@@ -64,7 +49,6 @@ def uninstall():
64
49
raise RuntimeError ('Package is not installed. Nothing has been removed.\r \n ' )
65
50
shutil .rmtree (dst )
66
51
os .remove (logfile )
67
- uninstall_xrfclk_files ()
68
52
69
53
def clean ():
70
54
uninstall ()
0 commit comments