Skip to content

Commit 2a1ae04

Browse files
committed
setup.py, README: Release 3.0.0 .
Now bundling libusb1 1.0.25 dlls. Also, run tests with 1.0.25.
1 parent 77fb416 commit 2a1ae04

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

README.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ PyPI: http://pypi.python.org/pypi/libusb1
1515
Dependencies
1616
============
1717

18-
- CPython_ 3.4+, pypy_ 2.0+. Older versions may work, but are not
18+
- CPython_ 3.6+, pypy_ 2.0+. Older versions may work, but are not
1919
recommended as there is no automated regression testing set up for them.
2020
- libusb-1.0_
2121

@@ -542,6 +542,14 @@ Source only: convert examples to python3.
542542

543543
Release process: also run some examples scripts.
544544

545+
3.0.0
546+
-----
547+
548+
Update versioneer to be compatible with 3.11 .
549+
550+
Drop python <3.6 support (consequence of versioneer update), hence the major
551+
version change.
552+
545553
.. _CPython: http://www.python.org/
546554

547555
.. _pypy: http://pypy.org/

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
sys.exit(1)
3434

3535
CURRENT_WINDOWS_7Z_SHA256 = (
36-
'620cec4dbe4868202949294157da5adb75c9fbb4f04266146fc833eef85f90fb'
36+
'3d1c98416f454026034b2b5d67f8a294053898cb70a8b489874e75b136c6674d'
3737
)
3838

3939
cmdclass = versioneer.get_cmdclass()
@@ -127,8 +127,8 @@ def run(self):
127127
)
128128
)
129129
for arch_path, out_dir in (
130-
('VS2019/MS32/dll/libusb-1.0.dll', os.path.join(build_dir, 'win32')),
131-
('VS2019/MS64/dll/libusb-1.0.dll', os.path.join(build_dir, 'win_amd64')),
130+
('VS2019/MS32/Release/dll/libusb-1.0.dll', os.path.join(build_dir, 'win32')),
131+
('VS2019/MS64/Release/dll/libusb-1.0.dll', os.path.join(build_dir, 'win_amd64')),
132132
):
133133
subprocess.check_call(
134134
[

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
set -eu
33
cd "$(dirname "$(realpath "$0")")"
44
for python_v in python3 pypy3; do
5-
if ./runTestLibusb.sh "$python_v" https://github.com/libusb/libusb.git libusb.git master v1.0.19 v1.0.22 v1.0.24; then
5+
if ./runTestLibusb.sh "$python_v" https://github.com/libusb/libusb.git libusb.git master v1.0.19 v1.0.22 v1.0.24 v1.0.25; then
66
:
77
else
88
echo "runTestLibusb.sh failed with ${python_v} ($("$python_v" --version))"

0 commit comments

Comments
 (0)