Discussion:
[QGIS-Developer] Mac OS packages ...again!
Saber Razmjooei
2018-11-21 09:15:53 UTC
Permalink
Dear all,

We managed finally to set up an integrated infrastructure to automatically
create the following packages for QGIS:
https://lutraconsulting.github.io/qgis-mac-packager/

1- QGIS current release (3.4.1): you will get the new packages (e.g. 3.4.2)
on the same day as point release
2- QGIS nightly: generates a new package every day from the master branch
with all the latest features (and bugs!). This is not currently available
from the official QGIS download page.

The packages are all signed and you don't need to circumvent any security
to be able to install them. Everything should work for 10.13 and 10.14 but
with older versions of Mac OS, you may have some issues with Python and
plugins (see: https://github.com/lutraconsulting/qgis-mac-packager/issues).

We will appreciate if you test and report back any problem.
Kind regards
Saber
--
Saber Razmjooei
www.lutraconsulting.co.uk
Tim Sutton
2018-11-21 09:36:39 UTC
Permalink
Nice going! I will test them out for you! Did you manage to fix the python path issue?

Regards

Tim
Post by Saber Razmjooei
Dear all,
https://lutraconsulting.github.io/qgis-mac-packager/ <https://lutraconsulting.github.io/qgis-mac-packager/>
1- QGIS current release (3.4.1): you will get the new packages (e.g. 3.4.2) on the same day as point release
2- QGIS nightly: generates a new package every day from the master branch with all the latest features (and bugs!). This is not currently available from the official QGIS download page.
The packages are all signed and you don't need to circumvent any security to be able to install them. Everything should work for 10.13 and 10.14 but with older versions of Mac OS, you may have some issues with Python and plugins (see: https://github.com/lutraconsulting/qgis-mac-packager/issues <https://github.com/lutraconsulting/qgis-mac-packager/issues>).
We will appreciate if you test and report back any problem.
Kind regards
Saber
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
—








Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net
Saber Razmjooei
2018-11-21 09:38:22 UTC
Permalink
Hi Tim,

Yes, it should work with 10.13 and 10.14. But for older versions there is
an upstream blocker which we will look into later:
https://github.com/lutraconsulting/qgis-mac-packager/issues/22

Regards
Saber
Post by Tim Sutton
Nice going! I will test them out for you! Did you manage to fix the python path issue?
Regards
Tim
On 21 Nov 2018, at 11:15, Saber Razmjooei <
Dear all,
We managed finally to set up an integrated infrastructure to automatically
https://lutraconsulting.github.io/qgis-mac-packager/
1- QGIS current release (3.4.1): you will get the new packages (e.g.
3.4.2) on the same day as point release
2- QGIS nightly: generates a new package every day from the master branch
with all the latest features (and bugs!). This is not currently available
from the official QGIS download page.
The packages are all signed and you don't need to circumvent any security
to be able to install them. Everything should work for 10.13 and 10.14 but
with older versions of Mac OS, you may have some issues with Python and
plugins (see: https://github.com/lutraconsulting/qgis-mac-packager/issues
).
We will appreciate if you test and report back any problem.
Kind regards
Saber
--
Saber Razmjooei
www.lutraconsulting.co.uk
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
—
*Tim Sutton*
*Co-founder:* Kartoza
*Ex Project chair:* QGIS.org
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
*Skype*: timlinux
*IRC:* timlinux on #qgis at freenode.net
--
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
Tim Sutton
2018-11-21 09:39:50 UTC
Permalink
Thanks downloading the LTR build now


Regards

Tim
Post by Saber Razmjooei
Hi Tim,
https://github.com/lutraconsulting/qgis-mac-packager/issues/22 <https://github.com/lutraconsulting/qgis-mac-packager/issues/22>
Regards
Saber
Nice going! I will test them out for you! Did you manage to fix the python path issue?
Regards
Tim
Post by Saber Razmjooei
Dear all,
https://lutraconsulting.github.io/qgis-mac-packager/ <https://lutraconsulting.github.io/qgis-mac-packager/>
1- QGIS current release (3.4.1): you will get the new packages (e.g. 3.4.2) on the same day as point release
2- QGIS nightly: generates a new package every day from the master branch with all the latest features (and bugs!). This is not currently available from the official QGIS download page.
The packages are all signed and you don't need to circumvent any security to be able to install them. Everything should work for 10.13 and 10.14 but with older versions of Mac OS, you may have some issues with Python and plugins (see: https://github.com/lutraconsulting/qgis-mac-packager/issues <https://github.com/lutraconsulting/qgis-mac-packager/issues>).
We will appreciate if you test and report back any problem.
Kind regards
Saber
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
—
Tim Sutton
Co-founder: Kartoza
Ex Project chair: QGIS.org <http://qgis.org/>
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
Skype: timlinux
IRC: timlinux on #qgis at freenode.net <http://freenode.net/>
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
+44 (0)7568 129733
<KartozaNewLogoThumbnail.jpg><KartozaNewLogoThumbnail.jpg>
—








Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net
Tim Sutton
2018-11-21 10:05:08 UTC
Permalink
Hi

No I dropped it into my ~/Applications folder.
Post by Saber Razmjooei
Hi Tim,
You are trying to run it from the disk image I believe. Could you try to install it under Applications (by dragging QGIS and dropping it on Applications folder).
I didn’t want to put it int /Applications because that is where my 2.18 LTR lives /Applications/QGIS.app
Post by Saber Razmjooei
https://github.com/lutraconsulting/qgis-mac-packager/issues/11 <https://github.com/lutraconsulting/qgis-mac-packager/issues/11>
Cool

Regards

Tim


—








Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net
William Kyngesburye
2018-11-21 14:22:33 UTC
Permalink
Are you building Python from source? I use the python.org binary distribution and have no problems running QGIS 3 on Sierra. That means they are probably building with an older SDK so those new symbols are not used.
Post by Saber Razmjooei
Hi Tim,
https://github.com/lutraconsulting/qgis-mac-packager/issues/22 <https://github.com/lutraconsulting/qgis-mac-packager/issues/22>
Regards
Saber
Nice going! I will test them out for you! Did you manage to fix the python path issue?
Regards
Tim
Post by Saber Razmjooei
Dear all,
https://lutraconsulting.github.io/qgis-mac-packager/ <https://lutraconsulting.github.io/qgis-mac-packager/>
1- QGIS current release (3.4.1): you will get the new packages (e.g. 3.4.2) on the same day as point release
2- QGIS nightly: generates a new package every day from the master branch with all the latest features (and bugs!). This is not currently available from the official QGIS download page.
The packages are all signed and you don't need to circumvent any security to be able to install them. Everything should work for 10.13 and 10.14 but with older versions of Mac OS, you may have some issues with Python and plugins (see: https://github.com/lutraconsulting/qgis-mac-packager/issues <https://github.com/lutraconsulting/qgis-mac-packager/issues>).
We will appreciate if you test and report back any problem.
Kind regards
Saber
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
—
Tim Sutton
Co-founder: Kartoza
Ex Project chair: QGIS.org <http://qgis.org/>
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
Skype: timlinux
IRC: timlinux on #qgis at freenode.net <http://freenode.net/>
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
+44 (0)7568 129733
<KartozaNewLogoThumbnail.jpg><KartozaNewLogoThumbnail.jpg>_______________________________________________
Qgis-user mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy
Peter Petrik
2018-11-21 15:42:22 UTC
Permalink
Python is taken directly from homebrew bottle. Worth try with the python.org
package.

P.
Post by William Kyngesburye
Are you building Python from source? I use the python.org binary
distribution and have no problems running QGIS 3 on Sierra. That means
they are probably building with an older SDK so those new symbols are not
used.
On Nov 21, 2018, at 3:38 AM, Saber Razmjooei <
Hi Tim,
Yes, it should work with 10.13 and 10.14. But for older versions there is
https://github.com/lutraconsulting/qgis-mac-packager/issues/22
Regards
Saber
Post by Tim Sutton
Nice going! I will test them out for you! Did you manage to fix the python path issue?
Regards
Tim
On 21 Nov 2018, at 11:15, Saber Razmjooei <
Dear all,
We managed finally to set up an integrated infrastructure to
https://lutraconsulting.github.io/qgis-mac-packager/
1- QGIS current release (3.4.1): you will get the new packages (e.g.
3.4.2) on the same day as point release
2- QGIS nightly: generates a new package every day from the master branch
with all the latest features (and bugs!). This is not currently available
from the official QGIS download page.
The packages are all signed and you don't need to circumvent any security
to be able to install them. Everything should work for 10.13 and 10.14 but
with older versions of Mac OS, you may have some issues with Python and
plugins (see: https://github.com/lutraconsulting/qgis-mac-packager/issues
).
We will appreciate if you test and report back any problem.
Kind regards
Saber
--
Saber Razmjooei
www.lutraconsulting.co.uk
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
—
*Tim Sutton*
*Co-founder:* Kartoza
*Ex Project chair:* QGIS.org <http://qgis.org/>
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
*Skype*: timlinux
*IRC:* timlinux on #qgis at freenode.net
--
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
<KartozaNewLogoThumbnail.jpg><KartozaNewLogoThumbnail.jpg>
_______________________________________________
Qgis-user mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
Earth: "Mostly harmless"
- revised entry in the HitchHiker's Guide to the Galaxy
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Saber Razmjooei
2018-11-30 14:28:28 UTC
Permalink
Hi Tim and all,

We have managed to package QGIS with version number. So, you can have all
versions of QGIS installed side-by-side:
https://lutraconsulting.github.io/qgis-mac-packager/
(master build is in progress and should be ready in an hour or so).

Feel free to test and file tickets.

Regards
Saber



On Wed, 21 Nov 2018 at 15:42, Peter Petrik <
Post by Peter Petrik
Python is taken directly from homebrew bottle. Worth try with the
python.org package.
P.
Post by William Kyngesburye
Are you building Python from source? I use the python.org binary
distribution and have no problems running QGIS 3 on Sierra. That means
they are probably building with an older SDK so those new symbols are not
used.
On Nov 21, 2018, at 3:38 AM, Saber Razmjooei <
Hi Tim,
Yes, it should work with 10.13 and 10.14. But for older versions there is
https://github.com/lutraconsulting/qgis-mac-packager/issues/22
Regards
Saber
Post by Tim Sutton
Nice going! I will test them out for you! Did you manage to fix the python path issue?
Regards
Tim
On 21 Nov 2018, at 11:15, Saber Razmjooei <
Dear all,
We managed finally to set up an integrated infrastructure to
https://lutraconsulting.github.io/qgis-mac-packager/
1- QGIS current release (3.4.1): you will get the new packages (e.g.
3.4.2) on the same day as point release
2- QGIS nightly: generates a new package every day from the master
branch with all the latest features (and bugs!). This is not currently
available from the official QGIS download page.
The packages are all signed and you don't need to circumvent any
security to be able to install them. Everything should work for 10.13 and
10.14 but with older versions of Mac OS, you may have some issues with
https://github.com/lutraconsulting/qgis-mac-packager/issues).
We will appreciate if you test and report back any problem.
Kind regards
Saber
--
Saber Razmjooei
www.lutraconsulting.co.uk
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
—
*Tim Sutton*
*Co-founder:* Kartoza
*Ex Project chair:* QGIS.org <http://qgis.org/>
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
*Skype*: timlinux
*IRC:* timlinux on #qgis at freenode.net
--
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
<KartozaNewLogoThumbnail.jpg><KartozaNewLogoThumbnail.jpg>
_______________________________________________
Qgis-user mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
Earth: "Mostly harmless"
- revised entry in the HitchHiker's Guide to the Galaxy
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
--
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
Tim Sutton
2018-12-02 21:15:56 UTC
Permalink
Hi
Post by Saber Razmjooei
Hi Tim and all,
https://lutraconsulting.github.io/qgis-mac-packager/ <https://lutraconsulting.github.io/qgis-mac-packager/>
(master build is in progress and should be ready in an hour or so).
This is great, grabbing it now!
Post by Saber Razmjooei
Feel free to test and file tickets.
Cool, will do.

@Peter can you clarify what you meant by your reply regarding python? Are you suggesting I need to install the python.org package too? Do you have plans to bundle python into your QGIS.app?

Regards

Tim
Post by Saber Razmjooei
Regards
Saber
Python is taken directly from homebrew bottle. Worth try with the python.org <http://python.org/> package.
P.
Are you building Python from source? I use the python.org <http://python.org/> binary distribution and have no problems running QGIS 3 on Sierra. That means they are probably building with an older SDK so those new symbols are not used.
Post by Saber Razmjooei
Hi Tim,
https://github.com/lutraconsulting/qgis-mac-packager/issues/22 <https://github.com/lutraconsulting/qgis-mac-packager/issues/22>
Regards
Saber
Nice going! I will test them out for you! Did you manage to fix the python path issue?
Regards
Tim
Post by Saber Razmjooei
Dear all,
https://lutraconsulting.github.io/qgis-mac-packager/ <https://lutraconsulting.github.io/qgis-mac-packager/>
1- QGIS current release (3.4.1): you will get the new packages (e.g. 3.4.2) on the same day as point release
2- QGIS nightly: generates a new package every day from the master branch with all the latest features (and bugs!). This is not currently available from the official QGIS download page.
The packages are all signed and you don't need to circumvent any security to be able to install them. Everything should work for 10.13 and 10.14 but with older versions of Mac OS, you may have some issues with Python and plugins (see: https://github.com/lutraconsulting/qgis-mac-packager/issues <https://github.com/lutraconsulting/qgis-mac-packager/issues>).
We will appreciate if you test and report back any problem.
Kind regards
Saber
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
—
Tim Sutton
Co-founder: Kartoza
Ex Project chair: QGIS.org <http://qgis.org/>
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
Skype: timlinux
IRC: timlinux on #qgis at freenode.net <http://freenode.net/>
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
+44 (0)7568 129733
<KartozaNewLogoThumbnail.jpg><KartozaNewLogoThumbnail.jpg>_______________________________________________
Qgis-user mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/ <http://www.kyngchaos.com/>
Earth: "Mostly harmless"
- revised entry in the HitchHiker's Guide to the Galaxy
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
+44 (0)7568 129733 <tel:+44%207568%20129733>
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
—








Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net
Peter Petrik
2018-12-03 07:32:52 UTC
Permalink
Hi,

Python is already bundled in our package. The package is really standalone,
so you do not need to have anything else installed. The note about Python
is that, unfortunately, the python distribution we use ATM is not
compatible with MacOS 10.11 and 10.12. One way how to fix it is probably
use Python official distribution and not Homebrew distribution in the
process of creation of our package.

P.
Hi
On 30 Nov 2018, at 16:28, Saber Razmjooei <
Hi Tim and all,
We have managed to package QGIS with version number. So, you can have all
https://lutraconsulting.github.io/qgis-mac-packager/
(master build is in progress and should be ready in an hour or so).
This is great, grabbing it now!
Feel free to test and file tickets.
Cool, will do.
@Peter can you clarify what you meant by your reply regarding python? Are
you suggesting I need to install the python.org package too? Do you have
plans to bundle python into your QGIS.app?
Regards
Tim
Regards
Saber
On Wed, 21 Nov 2018 at 15:42, Peter Petrik <
Post by Peter Petrik
Python is taken directly from homebrew bottle. Worth try with the
python.org package.
P.
On Wed, Nov 21, 2018 at 3:23 PM William Kyngesburye <
Post by William Kyngesburye
Are you building Python from source? I use the python.org binary
distribution and have no problems running QGIS 3 on Sierra. That means
they are probably building with an older SDK so those new symbols are not
used.
On Nov 21, 2018, at 3:38 AM, Saber Razmjooei <
Hi Tim,
Yes, it should work with 10.13 and 10.14. But for older versions there
https://github.com/lutraconsulting/qgis-mac-packager/issues/22
Regards
Saber
Post by Tim Sutton
Nice going! I will test them out for you! Did you manage to fix the
python path issue?
Regards
Tim
On 21 Nov 2018, at 11:15, Saber Razmjooei <
Dear all,
We managed finally to set up an integrated infrastructure to
https://lutraconsulting.github.io/qgis-mac-packager/
1- QGIS current release (3.4.1): you will get the new packages (e.g.
3.4.2) on the same day as point release
2- QGIS nightly: generates a new package every day from the master
branch with all the latest features (and bugs!). This is not currently
available from the official QGIS download page.
The packages are all signed and you don't need to circumvent any
security to be able to install them. Everything should work for 10.13 and
10.14 but with older versions of Mac OS, you may have some issues with
https://github.com/lutraconsulting/qgis-mac-packager/issues).
We will appreciate if you test and report back any problem.
Kind regards
Saber
--
Saber Razmjooei
www.lutraconsulting.co.uk
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
—
*Tim Sutton*
*Co-founder:* Kartoza
*Ex Project chair:* QGIS.org <http://qgis.org/>
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
*Skype*: timlinux
*IRC:* timlinux on #qgis at freenode.net
--
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
<KartozaNewLogoThumbnail.jpg><KartozaNewLogoThumbnail.jpg>
_______________________________________________
Qgis-user mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
Earth: "Mostly harmless"
- revised entry in the HitchHiker's Guide to the Galaxy
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
--
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733 <+44%207568%20129733>
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
—
*Tim Sutton*
*Co-founder:* Kartoza
*Ex Project chair:* QGIS.org
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
*Skype*: timlinux
*IRC:* timlinux on #qgis at freenode.net
Tim Sutton
2018-12-03 18:29:33 UTC
Permalink
Hi
Hi,
Python is already bundled in our package. The package is really standalone, so you do not need to have anything else installed. The note about Python is that, unfortunately, the python distribution we use ATM is not compatible with MacOS 10.11 and 10.12. One way how to fix it is probably use Python official distribution and not Homebrew distribution in the process of creation of our package.
Ah ok cool thanks for the clarification. I can confirm that the package I downloaded last night picks up the python interpreter inside the bundle nicely:

import sys
for p in sys.path:
print(p)
/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/karika
/Applications/QGIS3.4.2.app/Contents/MacOS/../Resources/python
/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.4.2.app/Contents/MacOS/../Resources/python/plugins
/Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python37.zip
/Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/lib-dynload
/Applications/QGIS3.4.2.app/Contents/Resources/python
/Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages


What is the recommended way to install additional deps (e.g. via pip) into the bundled python environment? If we try to just directly use the python interpreter (see below) it does not have the correct python path:



[***@sandstone /Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/3.7/bin]$ ./python3.7
Python 2.7.10 (default, Aug 17 2018, 17:41:52)
[GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.0.42)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Post by Saber Razmjooei
import sys
... print(p)
...

/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7
/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages
/Library/Python/2.7/site-packages/numpy-override
/Library/Python/2.7/site-packages/matplotlib-override
/Library/Frameworks/GDAL.framework/Versions/2.1/Python/2.7/site-packages
/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg
/Library/Python/2.7/site-packages/pycharm-debug.egg
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/Users/timlinux/Library/Python/2.7/lib/python/site-packages
/usr/local/lib/python2.7/site-packages
/usr/local/lib/python2.7/site-packages/pycharm-debug.egg
/usr/local/lib/python2.7/site-packages/geos
/usr/local/Cellar/numpy/1.15.3/libexec/nose/lib/python2.7/site-packages
/usr/local/lib/python2.7/site-packages/wx-3.0-osx_cocoa
/Library/Python/2.7/site-packages
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC
KeyboardInterrupt
Post by Saber Razmjooei
quit()
Maybe we need to bundle in pip and a tool from within QGIS to call pip (some examples were given on this mailing list in the past) from within QGIS so that the python interpreter has the correct context
.this would probably be useful for windows users too?



Regards

Tim
P.
Hi
Post by Saber Razmjooei
Hi Tim and all,
https://lutraconsulting.github.io/qgis-mac-packager/ <https://lutraconsulting.github.io/qgis-mac-packager/>
(master build is in progress and should be ready in an hour or so).
This is great, grabbing it now!
Post by Saber Razmjooei
Feel free to test and file tickets.
Cool, will do.
@Peter can you clarify what you meant by your reply regarding python? Are you suggesting I need to install the python.org <http://python.org/> package too? Do you have plans to bundle python into your QGIS.app?
Regards
Tim
Post by Saber Razmjooei
Regards
Saber
Python is taken directly from homebrew bottle. Worth try with the python.org <http://python.org/> package.
P.
Are you building Python from source? I use the python.org <http://python.org/> binary distribution and have no problems running QGIS 3 on Sierra. That means they are probably building with an older SDK so those new symbols are not used.
Hi Tim,
https://github.com/lutraconsulting/qgis-mac-packager/issues/22 <https://github.com/lutraconsulting/qgis-mac-packager/issues/22>
Regards
Saber
Nice going! I will test them out for you! Did you manage to fix the python path issue?
Regards
Tim
Post by Saber Razmjooei
Dear all,
https://lutraconsulting.github.io/qgis-mac-packager/ <https://lutraconsulting.github.io/qgis-mac-packager/>
1- QGIS current release (3.4.1): you will get the new packages (e.g. 3.4.2) on the same day as point release
2- QGIS nightly: generates a new package every day from the master branch with all the latest features (and bugs!). This is not currently available from the official QGIS download page.
The packages are all signed and you don't need to circumvent any security to be able to install them. Everything should work for 10.13 and 10.14 but with older versions of Mac OS, you may have some issues with Python and plugins (see: https://github.com/lutraconsulting/qgis-mac-packager/issues <https://github.com/lutraconsulting/qgis-mac-packager/issues>).
We will appreciate if you test and report back any problem.
Kind regards
Saber
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
—
Tim Sutton
Co-founder: Kartoza
Ex Project chair: QGIS.org <http://qgis.org/>
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
Skype: timlinux
IRC: timlinux on #qgis at freenode.net <http://freenode.net/>
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
+44 (0)7568 129733
<KartozaNewLogoThumbnail.jpg><KartozaNewLogoThumbnail.jpg>_______________________________________________
Qgis-user mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user <https://lists.osgeo.org/mailman/listinfo/qgis-user>
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/ <http://www.kyngchaos.com/>
Earth: "Mostly harmless"
- revised entry in the HitchHiker's Guide to the Galaxy
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
--
Saber Razmjooei
www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk/>
+44 (0)7568 129733 <tel:+44%207568%20129733>
_______________________________________________
QGIS-Developer mailing list
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
—
Tim Sutton
Co-founder: Kartoza
Ex Project chair: QGIS.org <http://qgis.org/>
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
Skype: timlinux
IRC: timlinux on #qgis at freenode.net <http://freenode.net/>
<KartozaNewLogoThumbnail.jpg><KartozaNewLogoThumbnail.jpg>
—








Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net
Tim Sutton
2018-12-03 18:39:43 UTC
Permalink
On 03 Dec 2018, at 20:29, Tim Sutton <***@kartoza.com> wrote:

Hi
Hi,
Python is already bundled in our package. The package is really standalone, so you do not need to have anything else installed. The note about Python is that, unfortunately, the python distribution we use ATM is not compatible with MacOS 10.11 and 10.12. One way how to fix it is probably use Python official distribution and not Homebrew distribution in the process of creation of our package.
Ah ok cool thanks for the clarification. I can confirm that the package I downloaded last night picks up the python interpreter inside the bundle nicely:

import sys
for p in sys.path:
print(p)
/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/karika
/Applications/QGIS3.4.2.app/Contents/MacOS/../Resources/python
/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/default/python
/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.4.2.app/Contents/MacOS/../Resources/python/plugins
/Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python37.zip
/Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/lib-dynload
/Applications/QGIS3.4.2.app/Contents/Resources/python
/Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages


What is the recommended way to install additional deps (e.g. via pip) into the bundled python environment? If we try to just directly use the python interpreter (see below) it does not have the correct python path:



[***@sandstone /Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/3.7/bin]$ ./python3.7
Python 2.7.10 (default, Aug 17 2018, 17:41:52)
[GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.0.42)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Post by Tim Sutton
import sys
... print(p)
...

/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7
/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages
/Library/Python/2.7/site-packages/numpy-override
/Library/Python/2.7/site-packages/matplotlib-override
/Library/Frameworks/GDAL.framework/Versions/2.1/Python/2.7/site-packages
/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg
/Library/Python/2.7/site-packages/pycharm-debug.egg
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/Users/timlinux/Library/Python/2.7/lib/python/site-packages
/usr/local/lib/python2.7/site-packages
/usr/local/lib/python2.7/site-packages/pycharm-debug.egg
/usr/local/lib/python2.7/site-packages/geos
/usr/local/Cellar/numpy/1.15.3/libexec/nose/lib/python2.7/site-packages
/usr/local/lib/python2.7/site-packages/wx-3.0-osx_cocoa
/Library/Python/2.7/site-packages
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC
KeyboardInterrupt
Post by Tim Sutton
quit()
Maybe we need to bundle in pip and a tool from within QGIS to call pip (some examples were given on this mailing list in the past) from within QGIS so that the python interpreter has the correct context
.this would probably be useful for windows users too?



Regards

Tim

—








Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com <http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net
Peter Petrik
2018-12-04 06:47:46 UTC
Permalink
Hi,

I need to investigate on this, for reference there is open issue
https://github.com/lutraconsulting/qgis-mac-packager/issues/41

Kind regards
Peter
Post by Peter Petrik
Hi
Hi,
Python is already bundled in our package. The package is really
standalone, so you do not need to have anything else installed. The note
about Python is that, unfortunately, the python distribution we use ATM is
not compatible with MacOS 10.11 and 10.12. One way how to fix it is
probably use Python official distribution and not Homebrew distribution in
the process of creation of our package.
Ah ok cool thanks for the clarification. I can confirm that the package I
downloaded last night picks up the python interpreter inside the bundle
import sys
print(p)
/Users/timlinux/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins/karika
/Applications/QGIS3.4.2.app/Contents/MacOS/../Resources/python
/Users/timlinux/Library/Application
Support/QGIS/QGIS3/profiles/default/python
/Users/timlinux/Library/Application
Support/QGIS/QGIS3/profiles/default/python/plugins
/Applications/QGIS3.4.2.app/Contents/MacOS/../Resources/python/plugins
/Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python37.zip
/Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/lib-dynload
/Applications/QGIS3.4.2.app/Contents/Resources/python
/Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.7/site-packages
What is the recommended way to install additional deps (e.g. via pip) into
the bundled python environment? If we try to just directly use the python
/Applications/QGIS3.4.2.app/Contents/Frameworks/Python.framework/Versions/3.7/bin]$ ./python3.7
Python 2.7.10 (default, Aug 17 2018, 17:41:52)
[GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.0.42)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Post by Tim Sutton
import sys
... print(p)
...
/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7
/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7/site-packages
/Library/Python/2.7/site-packages/numpy-override
/Library/Python/2.7/site-packages/matplotlib-override
/Library/Frameworks/GDAL.framework/Versions/2.1/Python/2.7/site-packages
/Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg
/Library/Python/2.7/site-packages/pycharm-debug.egg
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload
/Users/timlinux/Library/Python/2.7/lib/python/site-packages
/usr/local/lib/python2.7/site-packages
/usr/local/lib/python2.7/site-packages/pycharm-debug.egg
/usr/local/lib/python2.7/site-packages/geos
/usr/local/Cellar/numpy/1.15.3/libexec/nose/lib/python2.7/site-packages
/usr/local/lib/python2.7/site-packages/wx-3.0-osx_cocoa
/Library/Python/2.7/site-packages
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC
KeyboardInterrupt
Post by Tim Sutton
quit()
Maybe we need to bundle in pip and a tool from within QGIS to call pip
(some examples were given on this mailing list in the past) from within
QGIS so that the python interpreter has the correct context
.this would
probably be useful for windows users too?
Regards
Tim
—
*Tim Sutton*
*Co-founder:* Kartoza
*Ex Project chair:* QGIS.org
Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services
*Skype*: timlinux
*IRC:* timlinux on #qgis at freenode.net
Loading...