Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ on:
jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
python-version: ["3.6", "3.9", "3.10"]
python-version: ["3.8", "3.11", "3.14"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Set up uv
uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install '.[test]'
uv sync --locked --group test --python ${{ matrix.python-version }}
- name: Test
run: |
python test_remotezip.py -v
uv run --locked --group test python test_remotezip.py -v
- name: Package
run: |
python -m pip install wheel
python setup.py bdist_wheel
uv build
- name: Archive artifact
uses: actions/upload-artifact@v4
with:
Expand Down
48 changes: 48 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "remotezip"
version = "0.12.5"
description = "Access zip file content hosted remotely without downloading the full file."
readme = "README.md"
requires-python = ">=2.7"
authors = [
{name = "Giuseppe Tribulato", email = "gtsystem@gmail.com"},
]
license = {text = "MIT"}
dependencies = [
"requests",
]
classifiers = [
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]

[dependency-groups]
test = ["requests-mock"]

[project.urls]
Homepage = "https://github.com/gtsystem/python-remotezip"

[project.scripts]
remotezip = "remotezip:main"

[tool.setuptools]
py-modules = ["remotezip"]
41 changes: 0 additions & 41 deletions setup.py

This file was deleted.

Loading
Loading