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
-
I am newbie to Python and in my project I have added dependencies "by sight" in its
pyproject.toml
file 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.toml
file, create a new environment, and then runpytest/mypy/flake8/sphinx/etc
and then every time I got amissing package error
I run something likehatch add <missing package>
but I don't know if suchhatch add
command exist.Moreover, I would like to be able to differentiate the dev packages and "ordinary" packages.
For example, I wish a command
hatch add
such that:hatch add onepackage
, then a line related toonepackage
is added topyproject.toml
, e.g.hatch add coolpackage "foo"
, then a line is added in e.g. the following way in thepyproject.toml
These 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.tom
l. I DON'T want hatch to also install the package, that I will do withconda install <package_name>
. Unless when I runhatch add
then it will automatically install it usingconda
.Beta Was this translation helpful? Give feedback.
All reactions