File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -299,12 +299,7 @@ def get_noarch_os():
299299 build_jobs = {}
300300 build_config = self ._main_manager .data ["workflow.build" ]
301301 # for typ in ("pkg", "test"):
302- python_build_command = self ._branch_manager .data [
303- "devcontainer_main.environment.pybuild.task.build-python.alias"
304- ]
305- readme_render_command = self ._branch_manager .data [
306- "devcontainer_main.environment.pybuild.task.render-readme.alias"
307- ]
302+ project_command_alias = self ._branch_manager .data ["devcontainer_main.environment.pypackit.task.project.alias" ]
308303 for pkg_id in ("main" , "test" ):
309304 if (
310305 not (publish_pypi or publish_testpypi or publish_anaconda )
@@ -319,8 +314,9 @@ def get_noarch_os():
319314 "ref" : self ._ref_name ,
320315 "pkg_id" : pkg_id ,
321316 "pure_python" : pure_python ,
322- "build_command" : f"{ python_build_command } { pkg_id } { '--sdist' if not pure_python else '' } " ,
323- "readme_command" : f"{ readme_render_command } { pkg_id } "
317+ "build_command" : f"{ project_command_alias } build python --pkg { pkg_id } { '--sdist' if not pure_python else '' } " ,
318+ "build_command_conda" : f"{ project_command_alias } build conda --pkg { pkg_id } " ,
319+ "readme_command" : f"{ project_command_alias } render pypi --pkg { pkg_id } "
324320 if value ["pyproject" ]["project" ].get ("readme" )
325321 else "" ,
326322 "pkg_path" : value ["path" ]["root" ],
You can’t perform that action at this time.
0 commit comments