mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	 ff3d9399fc
			
		
	
	
		ff3d9399fc
		
	
	
	
	
		
			
			On Linux, sys.platform doesn't contain the major version anymore. It is now always 'linux', instead of 'linux2' or 'linux3' depending on the Linux version used to build Python.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			195 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			195 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #! /bin/sh
 | |
| case `uname` in
 | |
| Linux*)	;;
 | |
| *)	echo Probably not on a Linux system 1>&2
 | |
| 	exit 1;;
 | |
| esac
 | |
| set -v
 | |
| h2py -i '(u_long)' /usr/include/sys/types.h /usr/include/netinet/in.h /usr/include/dlfcn.h
 |