-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #149 from salty-horse/cleanup
Various small cleanup changes
- Loading branch information
Showing
5 changed files
with
16 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
run: pytest --verbose test_snappy.py | ||
|
||
- name: Archive sdist | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: wheels | ||
path: dist/python-snappy*.tar.gz | ||
|
@@ -52,19 +52,19 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04, macos-12, windows-2019] | ||
architecture: ['x64'] | ||
architecture: ["x64"] | ||
linux_archs: ["auto s390x"] | ||
include: | ||
- os: windows-2019 | ||
architecture: 'x86' | ||
architecture: "x86" | ||
skip: "*2*win* *win_amd64" | ||
environment_windows: INCLUDE="C:/Program Files (x86)/Snappy/include" LIB="C:/Program Files (x86)/Snappy/lib" | ||
- os: windows-2019 | ||
architecture: 'x64' | ||
architecture: "x64" | ||
skip: "*2*win* *win32" | ||
environment_windows: INCLUDE="C:/Program Files/Snappy/include" LIB="C:/Program Files/Snappy/lib" | ||
- os: ubuntu-20.04 | ||
architecture: 'x64' | ||
architecture: "x64" | ||
linux_archs: aarch64 ppc64le | ||
|
||
name: Python ${{ matrix.os }} | ||
|
@@ -94,7 +94,7 @@ jobs: | |
uses: docker/setup-qemu-action@v1 | ||
with: | ||
platforms: all | ||
|
||
- name: Add msbuild to PATH | ||
if: runner.os == 'Windows' | ||
uses: microsoft/[email protected] | ||
|
@@ -108,15 +108,15 @@ jobs: | |
run: | | ||
python -m pip wheel -w ./wheelhouse . | ||
- uses: actions/upload-artifact@v2 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
path: ./wheelhouse/*.whl | ||
name: wheels | ||
|
||
upload: | ||
runs-on: ubuntu-latest | ||
name: upload wheels | ||
needs: ['sdist', 'build'] | ||
needs: ["sdist", "build"] | ||
if: startsWith(github.ref, 'refs/tags/0.') | ||
steps: | ||
- name: Download test data | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ | |
long_description = """ | ||
Python bindings for the snappy compression library from Google. | ||
More details about Snappy library: http://google.github.io/snappy | ||
More details about Snappy library: https://google.github.io/snappy | ||
""" | ||
|
||
packages = ['snappy'] | ||
|
@@ -47,7 +47,7 @@ | |
version=version, | ||
author='Andres Moreira', | ||
author_email='[email protected]', | ||
url='http://github.com/intake/python-snappy', | ||
url='https://github.com/intake/python-snappy', | ||
description='Python library for the snappy compression library from Google', | ||
long_description=long_description, | ||
keywords='snappy, compression, google', | ||
|
@@ -71,6 +71,7 @@ | |
'Programming Language :: Python :: 3.12', | ||
], | ||
packages=packages, | ||
python_requires=">=3.8", | ||
install_requires=install_requires, | ||
setup_requires=setup_requires, | ||
package_dir={'': 'src'}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters