forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Copy ctypes-0.9.9.4 Python modules from external into the trunk.
- Loading branch information
Thomas Heller
committed
Mar 8, 2006
1 parent
cf567c1
commit babddfc
Showing
59 changed files
with
5,941 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
*.pyc | ||
*.pyo | ||
com |
Oops, something went wrong.