Replies: 1 comment 1 reply
-
|
In addition, I would be happy with something that allows me to add the path of a requirements.txt file. Something similar to the License field. If this is not a bad practice, of course. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am newbie to Python and in my project I have added dependencies "by sight" in its
pyproject.tomlfile that now has the following entriesNevertheless, I feel a bit uncomfortable by having added such dependencies by hand.
To make things clean, I decided to remove the above from my
pyproject.tomlfile, create a new environment, and then runpytest/mypy/flake8/sphinx/etcand then every time I got amissing package errorI run something likehatch add <missing package>but I don't know if suchhatch addcommand exist.Moreover, I would like to be able to differentiate the dev packages and "ordinary" packages.
For example, I wish a command
hatch addsuch that:hatch add onepackage, then a line related toonepackageis added topyproject.toml, e.g.hatch add coolpackage "foo", then a line is added in e.g. the following way in thepyproject.tomlThese are just examples, but I guess you get the point.
Would that be possible?
NOTE:
I wish hatch add only to add a line to
pyproject.toml. I DON'T want hatch to also install the package, that I will do withconda install <package_name>. Unless when I runhatch addthen it will automatically install it usingconda.Beta Was this translation helpful? Give feedback.
All reactions