Skip to content

Commit babddfc

Browse files
author
Thomas Heller
committed
Copy ctypes-0.9.9.4 Python modules from external into the trunk.
1 parent cf567c1 commit babddfc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+5941
-0
lines changed

Lib/ctypes/.CTYPES_DEVEL

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# -*- python -*-
2+
def install():
3+
import sys, os
4+
5+
from distutils.util import get_platform
6+
plat_specifier = ".%s-%s" % (get_platform(), sys.version[0:3])
7+
build_dir = os.path.join("..", 'build', 'lib' + plat_specifier)
8+
9+
p = os.path.abspath(os.path.join(os.path.dirname(__file__), build_dir))
10+
sys.path.insert(0, p)
11+
del sys
12+
13+
install()
14+
del install

Lib/ctypes/.cvsignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
*.pyc
3+
*.pyo
4+
com

0 commit comments

Comments
 (0)