changeset 1:0b622237ddfb draft default tip

Uploaded
author fubar
date Thu, 03 Jun 2021 04:44:43 +0000
parents d6fb2ee61c2c
children
files planemo_test/planemo_test.xml
diffstat 1 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/planemo_test/planemo_test.xml	Thu Jun 03 04:43:09 2021 +0000
+++ b/planemo_test/planemo_test.xml	Thu Jun 03 04:44:43 2021 +0000
@@ -4,7 +4,6 @@
   <description>Test and finalise a toolshed archive</description>
   <requirements>
     <requirement type="package" version="5.0.1">rpyc</requirement>
-    <requirement type="package" version="3.2.3">rsync</requirement>
     <requirement type="package" version="4.6.3">lxml</requirement>
   </requirements>
   <stdio>
@@ -28,21 +27,6 @@
 import subprocess
 import sys
 
-
-def run_rsync(srcf, dstf):
-    src = os.path.abspath(srcf)
-    dst = os.path.abspath(dstf)
-    if os.path.isdir(src):
-        cll = ["rsync", "-r", src, dst]
-    else:
-        cll = ["rsync", src, dst]
-    subprocess.run(
-        cll,
-        capture_output=False,
-        encoding="utf8",
-        shell=False,
-    )
-
 def main():
     assert len(sys.argv) >= 3, 'Must have input xml and output archive paths on command line'
     xmlin = sys.argv[1]