File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v6
14+ with :
15+ fetch-depth : 0
1416 - name : Set up Python
1517 uses : actions/setup-python@v6
1618 with :
2931 - name : Build wheel
3032 run : |
3133 python -m pip install --upgrade pip
32- pip install setuptools wheel
33- python setup.py bdist_wheel --universal
34+ pip install build
35+ python -m build
3436
3537 - name : Upload Wheel Artifact
3638 uses : actions/upload-artifact@v6
Original file line number Diff line number Diff line change @@ -11,20 +11,18 @@ jobs:
1111 runs-on : ubuntu-latest
1212 steps :
1313 - uses : actions/checkout@v6
14+ with :
15+ fetch-depth : 0
1416 - name : Set up Python
1517 uses : actions/setup-python@v6
1618 with :
1719 python-version : ' 3.9'
18- - name : Install dependencies
19- run : |
20- python -m pip install --upgrade pip
21- pip install setuptools wheel
2220
23- - name : Build wheel
21+ - name : Build distributions
2422 run : |
2523 python -m pip install --upgrade pip
26- pip install wheel
27- python setup.py bdist_wheel --universal
24+ pip install build
25+ python -m build
2826
2927 - name : Upload Artifacts
3028 uses : actions/upload-artifact@v6
Original file line number Diff line number Diff line change 1111 steps :
1212 - name : Checkout code
1313 uses : actions/checkout@v6
14+ with :
15+ fetch-depth : 0
1416
1517 - name : Set up Python
1618 uses : actions/setup-python@v6
@@ -20,10 +22,10 @@ jobs:
2022 - name : Install dependencies
2123 run : |
2224 python -m pip install --upgrade pip
23- pip install setuptools wheel twine
25+ pip install build
2426
2527 - name : Build
26- run : python setup.py sdist bdist_wheel
28+ run : python -m build
2729
2830 - name : Publish to GitHub Releases
2931 uses : softprops/action-gh-release@v1
Original file line number Diff line number Diff line change @@ -22,15 +22,17 @@ jobs:
2222
2323 steps :
2424 - uses : actions/checkout@v6
25+ with :
26+ fetch-depth : 0
2527 - name : Set up Python
2628 uses : actions/setup-python@v6
2729 with :
2830 python-version : ' 3.9'
2931 - name : Build wheel
3032 run : |
3133 python -m pip install --upgrade pip
32- pip install wheel
33- python setup.py bdist_wheel --universal
34+ pip install build
35+ python -m build
3436
3537 - name : Install wheel
3638 run : |
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [" setuptools>=64" , " setuptools_scm>=8" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [tool .setuptools_scm ]
Original file line number Diff line number Diff line change 55
66setup (
77 name = 'vecto-sdk' ,
8- version = '0.2.3' ,
98 author = 'Xpress AI' ,
109 author_email = 'eduardo@xpress.ai' ,
1110 description = 'Official Python SDK for Vecto' ,
You can’t perform that action at this time.
0 commit comments