You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some additional dependencies that at the time of writing are not
@@ -546,13 +547,21 @@ Get the expat sources:
546
547
4.3.3. Additional Dependencies : SIP
547
548
====================================
548
549
550
+
Make sure you have the latest Python fom
551
+
552
+
553
+
http://www.python.org/download/mac/
554
+
555
+
556
+
Leopard note: Leopard includes a usable Python 2.5. Though you can install Python from python.org if preferred.
557
+
549
558
Retrieve the python bindings toolkit SIP from
550
559
551
560
552
561
http://www.riverbankcomputing.com/Downloads/sip4/
553
562
554
563
555
-
Then extract and build it to a prefix of /usr/local:
564
+
Then extract and build it (this installs by default into the Python framework):
556
565
557
566
558
567
tar xvfz sip-<version number>.tar.gz
@@ -563,16 +572,18 @@ Then extract and build it to a prefix of /usr/local:
563
572
cd ..
564
573
565
574
575
+
Leopard notes
566
576
567
-
4.3.4. Additional Dependencies : PyQt
568
-
=====================================
577
+
If building on Leopard, using Leopard's bundled Python, SIP wants to install in the system path -- this is not a good idea. Use this configure command instead of the basic configure above:
Then extract and build it to a prefix of /usr/local:
601
+
Then extract and build it (this installs by default into the Python framework):
591
602
592
603
593
604
tar xvfz PyQt-mac<version number here>
594
605
cd PyQt-mac<version number here>
606
+
export QTDIR=/Developer/Applications/Qt
595
607
python configure.py
596
608
yes
597
609
make
598
610
sudo make install
599
611
cd ..
600
612
601
613
614
+
Leopard notes
615
+
616
+
If building on Leopard, using Leopard's bundled Python, PyQt wants to install in the system path -- this is not a good idea. Use this configure command instead of the basic configure above:
Leopard note: To find the custom install of SIP on Leopard, add -D SIP_BINARY_PATH=/usr/local/bin/sip to the cmake command above, before the .. at the end, ie:
There are some additional dependencies that at the time of writing are not
@@ -440,13 +442,21 @@ cd ..
440
442
441
443
=== Additional Dependencies : SIP ===
442
444
445
+
Make sure you have the latest Python fom
446
+
447
+
```
448
+
http://www.python.org/download/mac/
449
+
```
450
+
451
+
__Leopard note:__ Leopard includes a usable Python 2.5. Though you can install Python from python.org if preferred.
452
+
443
453
Retrieve the python bindings toolkit SIP from
444
454
445
455
```
446
456
http://www.riverbankcomputing.com/Downloads/sip4/
447
457
```
448
458
449
-
Then extract and build it to a prefix of /usr/local:
459
+
Then extract and build it (this installs by default into the Python framework):
450
460
451
461
```
452
462
tar xvfz sip-<version number>.tar.gz
@@ -457,14 +467,16 @@ sudo make install
457
467
cd ..
458
468
```
459
469
460
-
=== Additional Dependencies : PyQt ===
470
+
__Leopard notes__
461
471
462
-
Make sure you have the latest python fom
472
+
If building on Leopard, using Leopard's bundled Python, SIP wants to install in the system path -- this is not a good idea. Use this configure command instead of the basic configure above:
Then extract and build it to a prefix of /usr/local:
494
+
Then extract and build it (this installs by default into the Python framework):
483
495
484
496
```
485
497
tar xvfz PyQt-mac<version number here>
486
498
cd PyQt-mac<version number here>
499
+
export QTDIR=/Developer/Applications/Qt
487
500
python configure.py
488
501
yes
489
502
make
490
503
sudo make install
491
504
cd ..
492
505
```
493
506
507
+
__Leopard notes__
508
+
509
+
If building on Leopard, using Leopard's bundled Python, PyQt wants to install in the system path -- this is not a good idea. Use this configure command instead of the basic configure above:
__Leopard note:__ To find the custom install of SIP on Leopard, add ""-D SIP_BINARY_PATH=/usr/local/bin/sip"" to the cmake command above, before the "".."" at the end, ie:
0 commit comments