Skip to content

Commit e2047a3

Browse files
committed
Make sure these extra packages make it into Python's module path
1 parent b120111 commit e2047a3

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CMakeLists.txt

+3
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,6 @@ add_subdirectory(Modules/macholib-1.5.1/macholib-1.5.1)
4141
add_subdirectory(Modules/macholib-1.5/macholib-1.5)
4242
add_subdirectory(Modules/xattr-0.6.4/xattr-0.6.4)
4343

44+
install(FILES Extras-2.6.pth DESTINATION libexec/darling/Library/Python/2.6/site-packages RENAME Extras.pth)
45+
install(FILES Extras-2.7.pth DESTINATION libexec/darling/Library/Python/2.7/site-packages RENAME Extras.pth)
46+

Extras-2.6.pth

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python
2+
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC

Extras-2.7.pth

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
2+
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC

0 commit comments

Comments
 (0)