Adding temporary script that fixes all Python extensions w/ 'setup_py'.
This commit is contained in:
		
							
								
								
									
										5
									
								
								share/spack/csh/convert-pyext.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								share/spack/csh/convert-pyext.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
#!/bin/bash --noprofile
 | 
			
		||||
PYEXT_REGEX=".*/.*/package.py"
 | 
			
		||||
 | 
			
		||||
find var/spack/repos/builtin/packages/ -type f -regextype sed -regex ${PYEXT_REGEX} -exec \
 | 
			
		||||
    sed -i 's/python('\''setup.py'\'', /setup_py(/' {} \;
 | 
			
		||||
		Reference in New Issue
	
	Block a user