Skip to content

Commit

Permalink
setup.py, README: Release 3.0.0 .
Browse files Browse the repository at this point in the history
Now bundling libusb1 1.0.25 dlls.
Also, run tests with 1.0.25.
  • Loading branch information
vpelletier committed Feb 6, 2022
1 parent 77fb416 commit 2a1ae04
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
10 changes: 9 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ PyPI: http://pypi.python.org/pypi/libusb1
Dependencies
============

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

Expand Down Expand Up @@ -542,6 +542,14 @@ Source only: convert examples to python3.

Release process: also run some examples scripts.

3.0.0
-----

Update versioneer to be compatible with 3.11 .

Drop python <3.6 support (consequence of versioneer update), hence the major
version change.

.. _CPython: http://www.python.org/

.. _pypy: http://pypy.org/
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
sys.exit(1)

CURRENT_WINDOWS_7Z_SHA256 = (
'620cec4dbe4868202949294157da5adb75c9fbb4f04266146fc833eef85f90fb'
'3d1c98416f454026034b2b5d67f8a294053898cb70a8b489874e75b136c6674d'
)

cmdclass = versioneer.get_cmdclass()
Expand Down Expand Up @@ -127,8 +127,8 @@ def run(self):
)
)
for arch_path, out_dir in (
('VS2019/MS32/dll/libusb-1.0.dll', os.path.join(build_dir, 'win32')),
('VS2019/MS64/dll/libusb-1.0.dll', os.path.join(build_dir, 'win_amd64')),
('VS2019/MS32/Release/dll/libusb-1.0.dll', os.path.join(build_dir, 'win32')),
('VS2019/MS64/Release/dll/libusb-1.0.dll', os.path.join(build_dir, 'win_amd64')),
):
subprocess.check_call(
[
Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -eu
cd "$(dirname "$(realpath "$0")")"
for python_v in python3 pypy3; do
if ./runTestLibusb.sh "$python_v" https://github.com/libusb/libusb.git libusb.git master v1.0.19 v1.0.22 v1.0.24; then
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
:
else
echo "runTestLibusb.sh failed with ${python_v} ($("$python_v" --version))"
Expand Down

0 comments on commit 2a1ae04

Please sign in to comment.