05333eb macros.pybytecompile: Detect Python version through sys.version_info

2 files Authored by torsava 5 years ago, Committed by churchyard 5 years ago,
    macros.pybytecompile: Detect Python version through sys.version_info
    
    ...instead of guessing from the executable name.
    
    This should make it work on EPEL7 as well where we ship 3.4 and 3.6
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1599809
    
        
file modified
+5 -3
file modified
+5 -1