mirror of
https://github.com/python/cpython.git
synced 2025-07-15 15:25:29 +00:00

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
|