Skip to content

Commit 86635bb

Browse files
committed
feat: dist with uv and pwsh
1 parent 3aa08f7 commit 86635bb

File tree

4 files changed

+21
-7
lines changed

4 files changed

+21
-7
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,16 @@ jobs:
3535
- name: Install dependencies
3636
run: |
3737
python -m pip install --upgrade pip
38-
pip install flake8 mypy .
38+
# pip install flake8 mypy .
39+
pip install .
3940
40-
- name: Flake8 static code analysis
41-
run:
42-
flake8 nest_asyncio.py
41+
# - name: Flake8 static code analysis
42+
# run:
43+
# flake8 nest_asyncio2.py
4344

44-
- name: MyPy static code analysis
45-
run: |
46-
mypy nest_asyncio.py
45+
# - name: MyPy static code analysis
46+
# run: |
47+
# mypy nest_asyncio2.py
4748

4849
- name: Testsuite
4950
run: |

dist.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
rm -r -Force dist build
2+
uv run setup.py sdist bdist_wheel
3+
uvx twine upload dist/*
4+
rm -r -Force dist build *.egg-info

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# /// script
2+
# requires-python = ">=3.5"
3+
# dependencies = [
4+
# "setuptools",
5+
# ]
6+
# ///
17
from setuptools import setup
28

39

uv.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)