hatch icon indicating copy to clipboard operation
hatch copied to clipboard

`hatch build` silently doing nothing on Windows

Open sponsfreixes opened this issue 7 months ago • 3 comments

I have a project using pyproject.toml. Using Windows and PowerShell I can install it locally from source with pip install . or pip install -e . with no issues. I can also create the wheel and sdist fine with py -m build:

> py -m build
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
  - hatchling
* Getting build dependencies for sdist...
* Building sdist...
* Building wheel from sdist
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
  - hatchling
* Getting build dependencies for wheel...
* Building wheel...
Successfully built my_awesome_project-1.0.0.tar.gz and my_awesome_project-1.0.0-py3-none-any.whl

But if I try to use hatch, it does nothing apart from showing some kind of header:

> hatch -v build
────────────────────────────────────────────────────────── sdist ───────────────────────────────────────────────────────────

Any thoughts?

sponsfreixes avatar Jul 24 '24 00:07 sponsfreixes