Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6e74785a
Commit
6e74785a
authored
Sep 11, 2001
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a note about making sure the Lac/Lib directory is in sys.path.
parent
1670145b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
Mac/OSX/README
Mac/OSX/README
+8
-2
No files found.
Mac/OSX/README
View file @
6e74785a
...
@@ -15,14 +15,20 @@ To create a fullblown Python.app proceed as follows.
...
@@ -15,14 +15,20 @@ To create a fullblown Python.app proceed as follows.
5. It is probably a good idea to add the Mac-specific modules to the framework,
5. It is probably a good idea to add the Mac-specific modules to the framework,
with "make installmacsubtree". This puts a MacPython lib directory into
with "make installmacsubtree". This puts a MacPython lib directory into
sys.prefix/Mac/Lib. Again, this is a temporary measure.
sys.prefix/Mac/Lib. Again, this is a temporary measure.
6. To actually find the Lib directory installed in step 5 you add a line
to your site.py file (the one in /Library/Frameworks/....):
sys.path.append(os.path.join(sys.prefix, 'Mac/Lib'))
You are now done. In your Applications you should have a "Python", with the icon
You are now done. In your Applications you should have a "Python", with the icon
being a falling 16 Ton weight with a shadow under it. You can drop Python scripts
being a falling 16 Ton weight with a shadow under it. You can drop Python scripts
on this and the will be run, in a full-windowing environment. Note that you
on this and the will be run, in a full-windowing environment. Note that you
do not get sys.stdin, and that sys.stdout goes to the console (Use
do not get sys.stdin, and that sys.stdout goes to the console (Use
Applications/Utilities/Console to see it).
Applications/Utilities/Console to see it).
For some reason the application only accepts files with TEXT type, not straight unix
typeless files.
Something to take note of is that the ".rsrc" files in the distribution are not
Something to take note of is that the ".rsrc" files in the distribution are not
actually resource files, they're AppleSingle encoded resource files.
actually resource files, they're AppleSingle encoded resource files.
Jack Jansen, jack@oratrix.com, 6-Sep-01.
Jack Jansen, jack@oratrix.com, 11-Sep-01.
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment