Recent

Author Topic: Python4Delphi fork for Win/Linux/MacOS  (Read 5934 times)

AlexTP

  • Hero Member
  • *****
  • Posts: 2402
    • UVviewsoft
Python4Delphi fork for Win/Linux/MacOS
« on: February 11, 2015, 06:20:21 am »
In this my text http://wiki.freepascal.org/Using_Python_in_Lazarus_on_Windows/Linux
you ll see link to repo with fork + text how to use this fork, IMPORTANT;

I tested on
- Win7
- Ubuntu 14.4 x64 (x32 must work too, if python lib is same)
- MacOS 10.8
« Last Edit: February 13, 2015, 08:50:03 pm by Alex22 »

AlexTP

  • Hero Member
  • *****
  • Posts: 2402
    • UVviewsoft
Re: Python4Delphi fork for Win/Linux x32/x64
« Reply #1 on: February 13, 2015, 08:47:27 pm »
App works on MacOS now as well.

AlexTP

  • Hero Member
  • *****
  • Posts: 2402
    • UVviewsoft
Re: Python4Delphi fork for Win/Linux/MacOS
« Reply #2 on: July 30, 2018, 04:16:13 pm »
Update
applied patch from @pyscripter GH repo to support Python 3.7.

Edit:
applied n minor fixes from @pyscripter too.
« Last Edit: July 30, 2018, 05:38:54 pm by Alextp »

joseywales72

  • New Member
  • *
  • Posts: 20
Re: Python4Delphi fork for Win/Linux/MacOS
« Reply #3 on: October 26, 2018, 05:32:09 pm »
Hi,
First of all, thank you for the hard work by adapting this library to Lazarus.
I tried this component with Lazarus 2.0RC1 32 bit, with 32 bit Python35.dll and such. No success. Also, is it not possible to use already installed Python?
Thanks in advance.
Anil

AlexTP

  • Hero Member
  • *****
  • Posts: 2402
    • UVviewsoft
Re: Python4Delphi fork for Win/Linux/MacOS
« Reply #4 on: October 26, 2018, 05:35:08 pm »
- It works in Lazarus 2.0, e.g. CudaText is compiled in Laz 2.0
- It works with Linux system Python (must set full path to libpython3*.so)

joseywales72

  • New Member
  • *
  • Posts: 20
Re: Python4Delphi fork for Win/Linux/MacOS
« Reply #5 on: October 27, 2018, 12:22:50 pm »
Thank you. Probably the library dll that I used was problematic. I downloaded Cuda and used the Python libraries inside Cuda. No problem npw.
Btw, kudos for Cuda. Very capable and nice IDE.
Anil

ChrisR

  • Full Member
  • ***
  • Posts: 247
Re: Python4Delphi fork for Win/Linux/MacOS
« Reply #6 on: October 27, 2018, 04:07:33 pm »
@Alextp - I am very grateful for your work on this. The latest Lazarus 2.0 automatically detects this package and installs it for me if it is a dependency for a project. The CudaText projest showcases the power of PythonScripting and how to implement this. Fantastic job.

AlexTP

  • Hero Member
  • *****
  • Posts: 2402
    • UVviewsoft
Re: Python4Delphi fork for Win/Linux/MacOS
« Reply #7 on: October 27, 2018, 10:57:24 pm »
Thank you. I welcome user made plugins too.

 

TinyPortal © 2005-2018