File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -144,12 +144,7 @@ jobs:
144144 run : |
145145 python -m pip install --upgrade build wheel setuptools setuptools-rust
146146 - name : Build wheel
147- run : python -m build --wheel --no-isolation
148-
149- - uses : actions/upload-artifact@v4
150- with :
151- name : wheel
152- path : dist/*.tar.gz
147+ run : make build-sdist
153148
154149 check_fmt :
155150 name : check formatting
Original file line number Diff line number Diff line change 8787 run : |
8888 python -m pip install --upgrade build wheel setuptools setuptools-rust
8989 - name : Build wheel
90- run : python -m build --wheel --no-isolation
90+ run : make build-sdist
9191
9292 - uses : actions/upload-artifact@v4
9393 with :
Original file line number Diff line number Diff line change 88
99venv-pip : venv
1010 $(PIP ) install -U pip build setuptools pdoc flake8 ipdb
11- $(PIP ) install -r requirements.txt
11+ $(PIP ) install .
1212 $(PYTHON ) --version
1313 $(PIP ) --version
1414
@@ -31,6 +31,10 @@ install-wheel: build-wheel
3131build-dev : venv-pip
3232 $(PYTHON ) -m pip install --no-build-isolation -e .[dev]
3333
34+ build-sdist : venv-pip
35+ rm -rf ./fluvio.egg-info/
36+ $(PYTHON ) -m build --sdist
37+
3438unit-tests : build-dev
3539 cd tests/ && PYTHONPATH=.. $(PYTHON ) -m unittest
3640
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ authors = [
1414 { name = " Fluvio Contributors" , email = " team@fluvio.io" }
1515]
1616keywords = [" fluvio" , " streaming" , " stream" ]
17-
1817classifiers = [
1918 " Intended Audience :: Developers" ,
2019 " Programming Language :: Python :: 3" ,
@@ -25,8 +24,25 @@ classifiers = [
2524 " Programming Language :: Python :: 3.13" ,
2625 " Programming Language :: Python :: 3 :: Only"
2726]
27+ dependencies = [
28+ " msgpack==1.0.4" ,
29+ " semantic-version==2.10.0" ,
30+ " humanfriendly==10.0"
31+ ]
2832
29- dynamic = [" dependencies" ]
33+ [project .optional-dependencies ]
34+ dev = [
35+ " flake8==7.1.1" ,
36+ " mccabe==0.7.0" ,
37+ " pycodestyle==2.12.1" ,
38+ " pyflakes==3.2.0" ,
39+ " black==25.1.0" ,
40+ " setuptools-rust==1.11.1" ,
41+ " toml==0.10.2" ,
42+ " build==1.2.2.post1" ,
43+ " pytest>=8" ,
44+ " cibuildwheel>=2.22" ,
45+ ]
3046
3147[project .urls ]
3248"Bug Reports" = " https://github.com/infinyon/fluvio-client-python/issues"
@@ -40,10 +56,3 @@ target = "fluvio._fluvio_python"
4056path = " Cargo.toml"
4157binding = " PyO3"
4258quiet = true
43-
44- [project .optional-dependencies ]
45- dev = [
46- " pytest>=8" ,
47- " flake8>=7" ,
48- " cibuildwheel>=2.22" ,
49- ]
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments