Skip to content

Commit

Permalink
Copy ctypes-0.9.9.4 Python modules from external into the trunk.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Heller committed Mar 8, 2006
1 parent cf567c1 commit babddfc
Show file tree
Hide file tree
Showing 59 changed files with 5,941 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Lib/ctypes/.CTYPES_DEVEL
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# -*- python -*-
def install():
import sys, os

from distutils.util import get_platform
plat_specifier = ".%s-%s" % (get_platform(), sys.version[0:3])
build_dir = os.path.join("..", 'build', 'lib' + plat_specifier)

p = os.path.abspath(os.path.join(os.path.dirname(__file__), build_dir))
sys.path.insert(0, p)
del sys

install()
del install
4 changes: 4 additions & 0 deletions Lib/ctypes/.cvsignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

*.pyc
*.pyo
com

0 comments on commit babddfc

Please sign in to comment.