Skip to content

Commit 04f0e20

Browse files
committed
Add pyproject.toml to set some parameters.
1 parent a42dfce commit 04f0e20

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/build_and_test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- name: Install dependencies
6060
run: |
6161
python -m pip install --upgrade pip
62-
pip install setuptools wheel
62+
pip install --upgrade build setuptools wheel
6363
shell: bash
6464

6565
- name: build
@@ -78,6 +78,8 @@ jobs:
7878
python_wheels:
7979
needs: build_and_test_python
8080
runs-on: ubuntu-latest
81+
container:
82+
image: ubuntu:22.04
8183
environment:
8284
name: pypi
8385
url: https://pypi.org/p/asyncproxy
@@ -89,12 +91,12 @@ jobs:
8991
- name: Set up Python
9092
uses: actions/setup-python@v5
9193
with:
92-
python-version: '3.12'
94+
python-version: '3.11'
9395

9496
- name: Install dependencies
9597
run: |
9698
python -m pip install --upgrade pip
97-
pip install setuptools wheel auditwheel
99+
pip install --upgrade build setuptools wheel auditwheel
98100
99101
- name: build
100102
run: |

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
include src/Symbol.map src/asp_iostats.h src/asp_sock.So src/asp_sock.c src/asp_sock.h src/asyncproxy.So src/asyncproxy.c src/asyncproxy.h
1+
include src/Symbol.map src/asp_iostats.h src/asp_sock.c src/asp_sock.h src/asyncproxy.c src/asyncproxy.h
22
include README.md

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def get_ex_mod():
6363
'packages':['asyncproxy',],
6464
'package_dir':{'asyncproxy':'python'},
6565
'ext_modules': get_ex_mod(),
66+
'license': 'BSD-2-Clause',
6667
'classifiers': [
67-
'License :: OSI Approved :: BSD License',
6868
'Operating System :: POSIX',
6969
'Programming Language :: C',
7070
'Programming Language :: Python'

0 commit comments

Comments
 (0)