def build_sdist(sdist_directory, config_settings=None): """Builds an sdist, places it in sdist_directory""" poetry = Factory().create_poetry(Path(".").resolve()) path = SdistBuilder(poetry).build(Path(sdist_directory)) return unicode(path.name)
def build_wheel(wheel_directory, config_settings=None, metadata_directory=None): """Builds a wheel, places it in wheel_directory""" poetry = Factory().create_poetry(Path(".").resolve()) return unicode(WheelBuilder.make_in(poetry, Path(wheel_directory)))
def build_wheel( wheel_directory, config_settings=None, metadata_directory=None ): # type: (str, Optional[Dict[str, Any]], Optional[str]) -> str """Builds a wheel, places it in wheel_directory""" poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False) return unicode(WheelBuilder.make_in(poetry, Path(wheel_directory)))
def build_sdist( sdist_directory, config_settings=None): # type: (str, Optional[Dict[str, Any]]) -> str """Builds an sdist, places it in sdist_directory""" poetry = Factory().create_poetry(Path(".").resolve(), with_dev=False) path = SdistBuilder(poetry).build(Path(sdist_directory)) return unicode(path.name)