김나래 12월 12일, 2022에 포스트됨 공유하기 12월 12일, 2022에 포스트됨 원문제목: Latest updates in Python4Delphi and PythonEnvironments in Delphi-Python EcoSystem 원문: https://blogs.embarcadero.com/latest-updates-in-python4delphi-and-pythonenvironments-in-delphi-python-ecosystem/ 작성자: Priyatham (2022.11) We’ve launched a new series of Delphi-Python EcoSystem update posts with the first Stable Python Environments blog post. This post will cover more development updates we had in the meantime, not just for development on Windows but for other platforms too. This update focuses on both the Python4Delphi (P4D) and the PythonEnvironments projects. 처음 게시했던 안정적인 파이썬 환경 구현하기 글에 이어 새 시리즈 델파이-파이썬 생태계 업데이트 게시글이 업로드 중이다. 이번 글은 윈도우 뿐 아니라 다른 플랫폼에서의 개발 업데이트 관련 소식을 전한다. 이번 업데이트는 Python4Delphi (P4D)와 PythonEnvironments 프로젝트 모두를 중점에 두었다. Python4Delphi (P4D) is the core technology/package that powers the whole Delphi-Python EcoSystem. After assessing the P4D in great detail, we are trying to solve the essence of why the P4D project started with the PythonEnvironments project. PythonEnvironments provides a set of Design-time components to embed a desirable Python Environment into your Delphi application using the readily available Python embeddable very easily. Python4Delphi (P4D)는 핵심 기술/패키지로 전체 델파이-파이썬 생태계를 움직인다. P4D를 상세히 평가해보고, P4D 프로젝트가 왜 PythonEnvironments 프로젝트에서 시작되었는가에 대한 본질적인 이유를 살펴보겠다. PythonEnvironments는 디자인 시점 컴포넌트(Design-time components)를 제공하며, 이를 통해 델파이 애플리케이션에 바람직한 파이썬 환경을 임베디드할 수 있다. 매우 손쉽게 파이썬 임베디드를 활용하는 것만으로 말이다. Our Delphi-Python EcoSystem can be summarized using the below figure: 우리의 델파이-파이썬 생태계는 다음 그림과 같이 표현할 수 있다: The latest updates in the Python4Delphi and PythonEnvironments projects are: Python4Delphi와 PythonEnviconments 프로젝트 최신 업데이트 내용은 다음과 같다: 리눅스용 Python4elphi (P4D) 컴파일 As a first step, please set up your Delphi IDE to build Linux applications. If you’re on Windows 11, we have a great video tutorial by Jim McKeeth to set up a Linux environment using WSL and run Delphi-built Linux GUI applications on WSL for Linux. 첫 단계는, 델파이 IDE에 리눅스 애플리케이션 빌드를 위한 환경을 구성하는 것이다. 윈도우 11을 사용하고 있다면, 짐 맥키트의 튜토리얼 영상을 참고하기 바란다. 이 영상에서는 WSL를 사용한 리눅스 환경 세팅과 리눅스용으로 WSL에서 델파이로 구축한 리눅스 GUI 애플리케이션 실행 방법을 설명한다. Then, you can choose the Linux target platform to build the P4D using the newly created project file: P4DLinuxComponentSuite.groupproj at: github.com/Embarcadero/python4delphi/tree/master/Packages/Delphi. After that, add the created *.dcu files folder path to the Library path of the Linux platform. Now you can use the P4D for Linux as a dependency for other projects that you want to compile for the Linux target platform. 이제, 새로 생성된 프로젝트를 사용해 P4D를 구축할 리눅스 대상 플랫폼을 선택할 수 있다. 프로젝트 파일은 P4DLinuxComponentSuite.groupproj 로, github.com/Embarcadero/python4delphi/tree/master/Packages/Delphi 에 있다. 여기까지 했다면 리눅스 플랫폼의 Library에 생성한 *.dcu 파일 폴더 경로를 추가한다. 그럼 리눅스 타겟 플랫폼용으로 컴파일하고자 하는 다른 프로젝트에 종속하여 리눅스용 P4D를 사용할 수 있다. 인용하기 우리의 목표는 델파이 개발자가 가능한 쉽게 P4D로 리눅스 애플리케이션을 만들고 컴파일하는 것이다. P4D 및 PythonEnvironments 설치 자료 We created detailed and step-by-step installation tutorials for both Python4Delphi (P4D) and PythonEnvironments at: Python4Delphi (P4D)와 PythonEnvironments 설치 방법 상세 내용은 다음 링크를 통해 확인할 수 있다: P4D 설치 튜토리얼: github.com/Embarcadero/python4delphi/wiki/Installation PythonEnvironments 설치 튜토리얼: github.com/Embarcadero/PythonEnviroments/wiki/Installation 델파이 10.4 버전까지 호환 가능한 PythonEnvironments PythonEnvironments faced an issue where it only had support for Delphi 11. Then we solved this with our latest commit to the GitHub repository. PythonEnvironments now supports the Delphi Sydney (10.4) and later. With this you get to use the power of PythonEnvironments using the Delphi Community Edition. PythonEnvironments는 델파이 11만 지원하는 이슈가 있었다. 이 문제는 깃허브(GitHub) 저장소에 최신 버전으로 커밋하면서 해소했다. 현재 PythonEnvironments는 델파이 시드니 (10.4)를 포함한 그 윗 버전들을 지원한다. 이에 따라 델파이 커뮤니티 에디션에서도 PythonEnvironments를 활용할 수 있게 되었다. 인용하기 이 댓글 링크 다른 사이트에 공유하기 더 많은 공유 선택 사항
Recommended Posts
이 토의에 참여하세요
지금 바로 의견을 남길 수 있습니다. 그리고 나서 가입해도 됩니다. 이미 회원이라면, 지금 로그인하고 본인 계정으로 의견을 남기세요.