python-packaging / honesty

sdist/bdist validator
MIT License
8 stars 3 forks source link

Convenient way of specifying python version #33

Open zsimic opened 9 months ago

zsimic commented 9 months ago

Would be very convenient if a short form for --python-version was available, like -p, and if major.minor was accepted, such that we could run:

honesty deps -p3.7 requests
thatch commented 9 months ago

Yeah, with the caveat that it will pick an arbitrary patch version (probably 0), this is easily possible. 0.3.0b1 also defaults to the current python version, because that seemed better than defaulting to 3.7 :)