Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
8ba42206
Kaydet (Commit)
8ba42206
authored
Eyl 06, 2002
tarafından
Jack Jansen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Started on documentation for building a MacOSX binary installer.
Unfinished.
üst
3337ea73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
README
Mac/OSX/README
+28
-1
No files found.
Mac/OSX/README
Dosyayı görüntüle @
8ba42206
...
@@ -106,7 +106,34 @@ be supplied later. Some useful (but outdated) info can be found in Mac/Demo.
...
@@ -106,7 +106,34 @@ be supplied later. Some useful (but outdated) info can be found in Mac/Demo.
The commandline scripts /usr/local/bin/python and pythonw
The commandline scripts /usr/local/bin/python and pythonw
can be used to run non-GUI and GUI python scripts from the command line, respectively.
can be used to run non-GUI and GUI python scripts from the command line, respectively.
6. Odds and ends.
6. How do I create a binary distribution?
-----------------------------------------
Note: this section is work-in-progress.
First, to make sure there's no contamination, it is best to remove your existing Python
installation (clear out /Library/Frameworks/Python.framework and /Applications/Python).
Also, after build/install is finished check that nothing has shown up in those two locations.
Create a subdirectory of the main python directory, say build-pythondist. In there, run
../configure --enable-framework=/tmp/pythondist/Library/Frameworks/Python.framework \
LDFLAGS=-Wl,-x
make
make frameworkinstall
This installs a complete distribution set in /tmp/pythondist: in a framework build all other
pathnames are computed from the framework pathname.
Note that the unix tools in /tmp/pythondist are wrong, these have to be removed, and the
installer post-install script should recreate them on the target system. Also, the .pyc and
.pyo files need to be removed:
rm -rf /tmp/pythondist/usr
python.exe ../Mac/script/zappycfiles.py /tmp/pythondist
TBD: find out how to make a .pkg from here.
TBD: documentation.
7. Odds and ends.
-----------------
-----------------
The PythonLauncher is actually an Objective C Cocoa app built with Project Builder.
The PythonLauncher is actually an Objective C Cocoa app built with Project Builder.
...
...
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