Skip to content

Commit

Permalink
Merge pull request #1267 from pticon/master
Browse files Browse the repository at this point in the history
rrdtool-python: Prefer Python3 over Python2.3
  • Loading branch information
oetiker authored Dec 6, 2024
2 parents 637ad23 + a330600 commit dc226d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Bugfixes
* Fix MacOS Build error (no SOCK_CLOEXEC on mac) @ensc fixes oetiker#1261
* Fix build on 32bits platforms (like armhf) when time_t is 64bits, fixes #1264
* Fix compilation on illumos @hadfl
* Python2.3 is deprecated and therefore, the Python bindings should use Python3 as default @pticon
* Fix issue where RRDtool detects a LINE or AREA with a constant numeric value as being exportable

Features
Expand Down
1 change: 1 addition & 0 deletions bindings/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def main():
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.10',
],
ext_modules=[module],
test_suite='tests'
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ AC_ARG_ENABLE(python,AS_HELP_STRING([--disable-python],[do not build the python

if test "$enable_python" = "yes"; then
dnl Check for python
AM_PATH_PYTHON(2.3,[],[enable_python=no])
AM_PATH_PYTHON(3,[],[enable_python=no])
AM_CHECK_PYTHON_HEADERS(,[enable_python=no;AC_MSG_WARN(could not find Python headers)])
fi

Expand Down

0 comments on commit dc226d4

Please sign in to comment.