File tree 3 files changed +2
-30
lines changed
3 files changed +2
-30
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ jobs:
21
21
python --version
22
22
23
23
- name : Install dependencies
24
- run : pip install .[ build]
24
+ run : pip build
25
25
26
26
- name : Build the package
27
- run : python setup.py sdist bdist_wheel
27
+ run : python -m build -- sdist --wheel
28
28
29
29
- name : Publish the package
30
30
uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 22
22
'sphinx_rtd_theme'
23
23
]
24
24
25
- # Requirements for building wheels
26
- build_require = [
27
- 'twine' ,
28
- 'wheel' ,
29
- ]
30
-
31
25
tests_require_no_optional = [
32
26
'pytest>=5.4.0' ,
33
27
'pytest-cov' ,
40
34
]
41
35
tests_require += tests_require_no_optional
42
36
tests_require += docs_require
43
- tests_require += build_require
44
37
45
38
setup (
46
39
name = 'AssertionLib' ,
98
91
'doc' : docs_require ,
99
92
'test' : tests_require ,
100
93
'test_no_optional' : tests_require_no_optional ,
101
- 'build' : build_require ,
102
94
}
103
95
)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments