@@ -144,37 +144,6 @@ def build(self):
144144 rscript_launcher = join (self .subject .dir , 'src' , 'Rscript_launcher' )
145145 self ._template (rscript_launcher , join (bin_dir , 'Rscript' ), template_dict )
146146
147-
148- class FastRArchiveParticipant :
149- def __init__ (self , dist ):
150- self .dist = dist
151-
152- def __opened__ (self , arc , srcArc , services ):
153- pass
154-
155- def __add__ (self , arcname , contents ): # pylint: disable=unexpected-special-method-signature
156- return False
157-
158- def __addsrc__ (self , arcname , contents ):
159- return False
160-
161- def __closing__ (self ):
162- if "FASTR_RELEASE" in self .dist .name :
163- assert isinstance (self .dist .deps [0 ], FastRReleaseProject )
164- release_project = self .dist .deps [0 ]
165- # the files copied in can be confused as source files by
166- # e.g., mx copyright, so delete them, specifically the
167- # include dir
168- include_dir = join (release_project .dir , 'include' )
169- shutil .rmtree (include_dir )
170-
171-
172- def mx_post_parse_cmd_line (opts ):
173- for dist in _fastr_suite .dists :
174- if isinstance (dist , mx .JARDistribution ):
175- dist .set_archiveparticipant (FastRArchiveParticipant (dist ))
176-
177-
178147def mx_register_dynamic_suite_constituents (register_project , register_distribution ):
179148 fastr_release_distribution = mx .JARDistribution (
180149 suite = _fastr_suite ,
0 commit comments