Skip to content

Commit 66a1d9c

Browse files
committed
Prepare package for publishing
1 parent 3c30555 commit 66a1d9c

14 files changed

Lines changed: 37 additions & 29 deletions

File tree

.github/workflows/publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on:
2+
push:
3+
tags:
4+
- '*'
5+
6+
jobs:
7+
pypi-publish:
8+
name: Upload release to PyPI
9+
runs-on: ubuntu-latest
10+
environment:
11+
name: pypi
12+
url: https://pypi.org/p/aiodrive
13+
permissions:
14+
id-token: write
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
- name: Install uv
19+
uses: astral-sh/setup-uv@v6
20+
- name: Build package distributions
21+
run: uv build --wheel
22+
- name: Publish package distributions to PyPI
23+
uses: pypa/gh-action-pypi-publish@release/v1

.gitignore

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1+
uv.lock
12
__pycache__
2-
.venv
3-
*copy*
4-
/dist
5-
node_modules
6-
package-lock.json
7-
poetry.lock
8-
tmp
3+
*.egg-info

package.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

pyproject.toml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
[build-system]
2-
requires = ["poetry-core"]
3-
build-backend = "poetry.core.masonry.api"
2+
requires = ["oryn~=1.2"]
3+
build-backend = "oryn"
44

5-
[tool.poetry]
5+
[project]
66
name = "aiodrive"
7-
version = "0.1.0"
8-
description = "..."
9-
authors = ["Simon Liétar"]
10-
readme = "readme.md"
11-
packages = [{ include = "aiodrive" }]
12-
repository = "https://github.com/slietar/aiodrive"
7+
version = "0.0"
8+
description = "Collection of utilies for working with asynchronous Python code"
139
license = "EUPL-1.2"
10+
readme = "readme.md"
11+
requires-python = "~=3.12.0"
12+
13+
[project.urls]
14+
Repository = "https://github.com/slietar/aiodrive"
1415

15-
[tool.poetry.dependencies]
16-
python = "^3.12"
16+
[tool.oryn]
17+
include = ["src/*"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)