Hatch uses pip, so hatch install [package] works. The docs could use a little more rounding out.
After using pipenv, poetry, pyenv-virtualenv, hatch, flit and pyflow, I've landed on hatch for windows as the most tolerable. I think I've run into trouble trying to use pyenv-win which isn't necessary. Instead one can just install any python version and run it as py -3.7 or py -3.8, so no need to mess with your paths.
On windows when using hatch shell I lose readline which I can't live without so I just use venv\Script\activate.
Thank you for your enjoyable articles. A good read even if I think I know the subject.
And adding to requirements is manual. Usually I add it to the configurable part of setup.py. I don't think this is in the docs anywhere either but there is a note in setup.py.
Fascinating. Glad you are finding hatch useful. I should dig into hatch more.
I totally agree that pyenv or pyenv-win is often unnecessary when on a system (such as Windows or Fedora Linux) that allows the installation of multiple Python versions easily.
Readline. So necessary. I use ptpython a lot on Windows, as well.
Thank you! I am honored that you are reading.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hatch uses pip, so
hatch install [package]
works. The docs could use a little more rounding out.After using pipenv, poetry, pyenv-virtualenv, hatch, flit and pyflow, I've landed on hatch for windows as the most tolerable. I think I've run into trouble trying to use pyenv-win which isn't necessary. Instead one can just install any python version and run it as
py -3.7
orpy -3.8
, so no need to mess with your paths.On windows when using
hatch shell
I lose readline which I can't live without so I just usevenv\Script\activate
.Thank you for your enjoyable articles. A good read even if I think I know the subject.
And adding to requirements is manual. Usually I add it to the configurable part of setup.py. I don't think this is in the docs anywhere either but there is a note in setup.py.
Fascinating. Glad you are finding hatch useful. I should dig into hatch more.
I totally agree that pyenv or pyenv-win is often unnecessary when on a system (such as Windows or Fedora Linux) that allows the installation of multiple Python versions easily.
Readline. So necessary. I use ptpython a lot on Windows, as well.
Thank you! I am honored that you are reading.