Skip to content

Commit 325d985

Browse files
Merge pull request #197 from jim-easterbrook/devel
Devel
2 parents 3a099f6 + e5ccb00 commit 325d985

33 files changed

Lines changed: 21 additions & 14 deletions

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
target: 14.0
1717
env:
1818
GPHOTO_DIR: ${{ github.workspace }}/libgphoto2
19-
GPHOTO_VSN: 2.5.32
19+
GPHOTO_VSN: 2.5.33
2020
steps:
2121
- name: Check out repository code
2222
uses: actions/checkout@v4

CHANGELOG.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ License along with python-gphoto2. If not, see
1919
<https://www.gnu.org/licenses/>.
2020

2121

22+
Changes in 2.6.3:
23+
1/ Binary wheels include libgphoto2 v2.5.33
24+
2225
Changes in 2.6.2:
2326
1/ Corrected deprecation of passing a CameraFile object to file_get() and
2427
capture_preview(). Release 2.6.0 deprecated not passing one.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
python-gphoto2 v\ 2.6.2
1+
python-gphoto2 v\ 2.6.3
22
=======================
33

44
python-gphoto2 is a comprehensive Python interface (or binding) to libgphoto2_.

developer/README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Differences found so far::
5454
2.5.30 Add gp_init_localedir & gp_port_init_localedir functions
5555
2.5.31 No change
5656
2.5.32 Add GP_MIME_MPO, GP_MIME_QTKN, GP_MIME_QTKT, and GP_MIME_RAF constants
57+
2.5.33 No change
5758

5859
Documentation
5960
-------------

developer/build_swig.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# python-gphoto2 - Python interface to libgphoto2
22
# http://github.com/jim-easterbrook/python-gphoto2
3-
# Copyright (C) 2021-23 Jim Easterbrook jim@jim-easterbrook.me.uk
3+
# Copyright (C) 2021-25 Jim Easterbrook jim@jim-easterbrook.me.uk
44
#
55
# This file is part of python-gphoto2.
66
#
@@ -76,7 +76,8 @@ def main(argv=None):
7676
break
7777
# make options list
7878
swig_opts = ['-python', '-nodefaultctor', '-O',
79-
'-Wextra', '-Werror', '-builtin', '-nofastunpack']
79+
'-Wextra', '-Werror', '-builtin', '-nofastunpack',
80+
'-Isrc/gphoto2', '-I-']
8081
if swig_version < (4, 1, 0):
8182
swig_opts.append('-py3')
8283
doc_file = os.path.join('src', 'gphoto2', 'common', 'doc.i')
@@ -86,7 +87,7 @@ def main(argv=None):
8687
version_opts = ['-outdir', output_dir]
8788
if os.path.isfile(doc_file):
8889
version_opts.append(
89-
'-DDOC_FILE=' + os.path.basename(doc_file))
90+
'-DDOC_FILE=common/' + os.path.basename(doc_file))
9091
version_opts += gphoto2_include
9192
# do each swig module
9293
for ext_name in ext_names:

src/gphoto2/common/preamble.i

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// python-gphoto2 - Python interface to libgphoto2
22
// http://github.com/jim-easterbrook/python-gphoto2
3-
// Copyright (C) 2017-24 Jim Easterbrook jim@jim-easterbrook.me.uk
3+
// Copyright (C) 2017-25 Jim Easterbrook jim@jim-easterbrook.me.uk
44
//
55
// This file is part of python-gphoto2.
66
//
@@ -24,8 +24,8 @@
2424
#include "gphoto2/gphoto2.h"
2525
%}
2626

27-
// Include macros and typemaps
28-
%include "macros.i"
27+
// Include our macros and swig's typemaps
28+
%include "common/macros.i"
2929
%include "typemaps.i"
3030

3131
// Include doxygen documentation
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
__version__ = "2.6.2"
2-
__version_tuple__ = tuple((2, 6, 2))
1+
__version__ = "2.6.3"
2+
__version_tuple__ = tuple((2, 6, 3))
33

44

55
import os

0 commit comments

Comments
 (0)