File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ def release_pypi(
316
316
):
317
317
"Create and upload Python package to PyPI"
318
318
_dir = get_config ().lib_path .parent
319
- system (f'cd { _dir } && rm -rf dist build && python setup.py sdist bdist_wheel ' )
319
+ system (f'cd { _dir } && rm -rf dist build && python -m build ' )
320
320
system (f'twine upload --repository { repository } { _dir } /dist/*' )
321
321
322
322
# %% ../nbs/api/18_release.ipynb
Original file line number Diff line number Diff line change 749
749
" ):\n " ,
750
750
" \" Create and upload Python package to PyPI\"\n " ,
751
751
" _dir = get_config().lib_path.parent\n " ,
752
- " system(f'cd {_dir} && rm -rf dist build && python setup.py sdist bdist_wheel ')\n " ,
752
+ " system(f'cd {_dir} && rm -rf dist build && python -m build ')\n " ,
753
753
" system(f'twine upload --repository {repository} {_dir}/dist/*')"
754
754
]
755
755
},
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ language = English
15
15
custom_sidebar = True
16
16
license = apache2
17
17
status = 5
18
- requirements = fastcore>=1.8.0 execnb>=0.1.12 astunparse ghapi>=1.0.3 watchdog asttokens setuptools
18
+ requirements = fastcore>=1.8.0 execnb>=0.1.12 astunparse ghapi>=1.0.3 watchdog asttokens setuptools build
19
19
pip_requirements = PyYAML
20
20
conda_requirements = pyyaml
21
21
conda_user = fastai
You can’t perform that action at this time.
0 commit comments