File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
1717 - name : Install dependencies
1818 run : |
1919 python -m pip install --upgrade pip
20- pip install setuptools wheel twine
20+ pip install setuptools wheel twine build
2121 - name : Build and publish
2222 env :
2323 TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
2424 TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
2525 run : |
26- python setup.py sdist bdist_wheel
26+ python -m build
2727 twine upload dist/*
Original file line number Diff line number Diff line change 1+ name : Test Build Python Package
2+
3+ on :
4+ push
5+
6+ jobs :
7+ deploy :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - uses : actions/checkout@v6
11+ - name : Set up Python
12+ uses : actions/setup-python@v6
13+ with :
14+ python-version : ' 3.x'
15+ - name : Install dependencies
16+ run : |
17+ python -m pip install --upgrade pip
18+ pip install setuptools wheel twine build
19+ - name : Build and publish
20+ env :
21+ TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
22+ TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
23+ run : |
24+ python -m build
Original file line number Diff line number Diff line change 2626 classifiers = [
2727 "Intended Audience :: Education" ,
2828 "Intended Audience :: Science/Research" ,
29- "License :: OSI Approved :: MIT License" ,
3029 "Programming Language :: Python :: 3 :: Only" ,
31- "Programming Language :: Python :: 3.5" ,
32- "Programming Language :: Python :: 3.6" ,
33- "Programming Language :: Python :: 3.7" ,
3430 "Topic :: Scientific/Engineering :: Visualization" ,
3531 ],
3632 zip_safe = False ,
You can’t perform that action at this time.
0 commit comments