File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -29,11 +29,11 @@ jobs:
2929 with :
3030 python-version : " 3.10"
3131
32- - name : Install wheel
33- run : pip install wheel
32+ - name : Install build
33+ run : pip install build
3434
3535 - name : Build dist
36- run : python setup.py sdist bdist_wheel
36+ run : python -m build
3737
3838 - name : Publish to PyPI
3939 run : |
Original file line number Diff line number Diff line change @@ -6,10 +6,9 @@ authors = [
66]
77# uncomment this after adding a readme
88# readme = "README.md"
9- license = { file = " LICENSE" }
9+ license-files = [ " LICENSE" ]
1010classifiers = [
1111 " Programming Language :: Python :: 3" ,
12- " License :: OSI Approved :: Apache Software License" ,
1312 " Operating System :: OS Independent" ,
1413]
1514requires-python = " >=3.10"
@@ -37,6 +36,7 @@ dependencies = [
3736dev = [
3837 " diffusers == 0.31.0" ,
3938 " transformers == 4.45.2" ,
39+ " build" ,
4040 " ruff" ,
4141 " scikit-image" ,
4242 " pytest" ,
You can’t perform that action at this time.
0 commit comments