Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed Oct 26, 2024
1 parent 256ae76 commit cc6fab4
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 10 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python package

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
# https://docs.pypi.org/trusted-publishers/using-a-publisher/
# Specifying a GitHub environment is optional, but strongly encouraged
environment: release
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build package
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Empty file added Makefiile
Empty file.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[project]
name = "osrs"
version = "0.0.6"
version = "0.0.7"
authors = [
{ name="extreme4all"},
]
description = "python wrapper around the osrs api endpoints"
description = "a wrapper around osrs api's"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
Expand Down
13 changes: 5 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@
"Operating System :: OS Independent",
],
packages=setuptools.find_packages(),
python_requires=">=3.6",
python_requires=">=3.10",
install_requires=[
'certifi==2021.5.30',
'charset-normalizer==2.0.4',
'idna==3.2',
'requests==2.26.0',
'urllib3==1.26.6'
]
)
"aiohttp==3.10.10",
"pydantic==2.9.2",
],
)
Empty file added tests/conftest.py
Empty file.

0 comments on commit cc6fab4

Please sign in to comment.