Skip to content

Commit d5ae05c

Browse files
Merged PR 26375: Prepare for pypylon 4.0.0rc1
2 parents 6ec3905 + 3e8b3af commit d5ae05c

File tree

4 files changed

+41
-14
lines changed

4 files changed

+41
-14
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ jobs:
175175
run: |
176176
cd pylon-installer
177177
ren Basler-pylon-*.exe Basler-pylon.exe
178-
$process = Start-Process Basler-pylon.exe -Wait -ArgumentList '/quiet /install=GigE_Runtime;USB_Runtime;Camera_Link_Runtime;CoaXPress_Runtime;GenTL_Consumer_Support;CamEmu_Support;SDKs;DataProcessing_SDK' -PassThru
178+
$process = Start-Process Basler-pylon.exe -Wait -ArgumentList '/quiet /install=GigE_Runtime;USB_Runtime;Camera_Link_Runtime;GenTL_Consumer_Support;CamEmu_Support;SDKs;DataProcessing_SDK;DataProcessing_vTools' -PassThru
179179
Write-Host "Process finished with return code:" $process.ExitCode
180180
181181
- name: Build wheels

README.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,12 @@ Please note that the pylon Camera Software Suite may support different operating
113113
For latest information on pylon refer to: https://www.baslerweb.com/en/software/pylon/
114114
In addition, check the release notes of your pylon installation.
115115
For instance:
116-
* pylon 7.4.0 supports Windows 10/11 64 bit, Linux x86_64 and Linux aarch64 with glibc version >= 2.31 or newer.
116+
* pylon 7.5.0 supports Windows 10/11 64 bit, Linux x86_64 and Linux aarch64 with glibc version >= 2.31 or newer.
117117
* pylon vTools are supported on pylon 7.0.0 and newer.
118118
* pylon vTools are supported on pypylon 3.0 and newer only on Windows 10/11 64 bit, Linux x86_64 and Linux aarch64.
119119
* For pylon vTools that require a license refer to: https://www.baslerweb.com/en/software/pylon-vtools/
120+
* CXP-12: To use CXP with pypylon >= 4.0.0 you need to install the CXP GenTL producer and drivers using the pylon Camera Software Suite setup.
121+
120122

121123
## Binary Installation
122124
The easiest way to get pypylon is to install a prebuild wheel.
@@ -127,21 +129,17 @@ To install pypylon open your favourite terminal and run:
127129

128130
The following versions are available on pypi:
129131

130-
| | 3.6 | 3.7 | 3.8 | 3.9 | 3.10 | 3.11 |
131-
|------------------|-----|-----|-----|-----|------|------|
132-
| Windows 64bit | x | x | x | x | x | x |
133-
| Linux x86_64*** | x | x | x | x | x | x |
134-
| Linux armv7l* | x | x | x | x | x | x |
135-
| Linux aarch64*** | x | x | x | x | x | x |
136-
| macOS x86_64** | x | x | x | x | x | x |
137-
| macOS arm64** | | | x | x | x | x |
132+
| | 3.9 | 3.10 | 3.11 | 3.12 |
133+
|----------------|-----|------|------|------|
134+
| Windows 64bit | x | x | x | x |
135+
| Linux x86_64* | x | x | x | x |
136+
| Linux aarch64* | x | x | x | x |
137+
| macOS x86_64** | x | x | x | x |
138+
| macOS arm64** | x | x | x | x |
138139

139140

140141
> Additional Notes on binary packages:
141-
> * (*) The linux 32bit binaries are manylinux_2_28 conformant.
142-
This is roughly equivalent to a minimum glibc version >= 2.28.
143-
:warning: You need at least pip 20.3 to install them.
144-
> * (***) The linux 64bit binaries are manylinux_2_31 conformant.
142+
> * (*) The linux 64bit binaries are manylinux_2_31 conformant.
145143
This is roughly equivalent to a minimum glibc version >= 2.31.
146144
:warning: You need at least pip 20.3 to install them.
147145
> * (**) macOS binaries are built for macOS >= 11.0 (Big-Sur)

changelog.txt

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
Version 4.0.0rc1
2+
- Date 2024-07-02
3+
- Updated to pylon 7.5 on linux and windows.
4+
- pylon 6.2 is the lowest supported version when building pypylon.
5+
- Dropped support for python 3.6, 3.7 and 3.8
6+
- Added CI builds for python 3.12
7+
- Dropped linux armv7l (32bit) support as it is no longer supported by pylon.
8+
- Added PylonDataContainer and PylonDataComponent support for
9+
3D cameras. You can use Basler 3D cameras with pypylon now.
10+
- Extended PylonImage support for GetArray and GetMemoryWindow.
11+
- Added pylondataprocessing.GetVersion().
12+
It reports the version of the pylon Data Processing C++ SDK.
13+
- The Builders recipe AddInput and AddOutput methods have changed.
14+
see buildersrecipe_test.py on how to handle that.
15+
- Updated data processing module documentation.
16+
- Fixed an issue when using all GetMemoryWindow() methods when
17+
running under python 3.12
18+
- Fixed an issue when using GetArrayZeroCopy().
19+
- Fixed an issue when running the unit tests with python 3.12.
20+
- Fixed an issue with strings constaining regular expressions in setup.py
21+
- Fixed an issue when running with numpy 2.0 in the unit tests.
22+
- Extended the unit tests.
23+
124
Version 3.0.1
225
- Date 2023-12-15
326
- add issue templates and links to Basler docs and pypylon samples

samples/ifacenodemap_pocxp.py

+6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22
# Here we are going to use the interface node map of a Basler CXP interface
33
# card to toggle 'Power Over CoaXPress' (PoCXP) between 'Auto' and 'Off'.
44

5+
from os import environ
56
from pypylon import pylon
67

8+
# First check if GENICAM_GENTL64_PATH environment variable is set.
9+
# This is set automatically by the Basler setup when installing pylon CXP
10+
if environ.get('GENICAM_GENTL64_PATH') is None:
11+
raise RuntimeError("GENICAM_GENTL64_PATH not set! Please install the CXP GenTL producer and drivers using the pylon Camera Software Suite setup.")
12+
713
# We need access to the interface node map. This can only be obtained from
814
# a transport layer. Therefore we have to create the TL first.
915
tl = pylon.TlFactory.GetInstance().CreateTl('BaslerGTC/Basler/CXP')

0 commit comments

Comments
 (0)