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(
316316):
317317 "Create and upload Python package to PyPI"
318318 _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 ' )
320320 system (f'twine upload --repository { repository } { _dir } /dist/*' )
321321
322322# %% ../nbs/api/18_release.ipynb
Original file line number Diff line number Diff line change 749749 " ):\n " ,
750750 " \" Create and upload Python package to PyPI\"\n " ,
751751 " _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 " ,
753753 " system(f'twine upload --repository {repository} {_dir}/dist/*')"
754754 ]
755755 },
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ language = English
1515custom_sidebar = True
1616license = apache2
1717status = 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
1919pip_requirements = PyYAML
2020conda_requirements = pyyaml
2121conda_user = fastai
You can’t perform that action at this time.
0 commit comments