Hi all,
(I hope that this hasn't been discussed previously)
so I've been trying to find out whether there's an explicit recommendation for 
creating and naming scripts/entry points depending on Python version that 
they're built with, but I didn't find any. As an example, setuptools' 
easy_install uses "easy_install-MAJOR.MINOR" (with dash), while pip uses 
"pipMAJOR.MINOR" (without a dash). Also, some projects only create 
"foo-MAJOR.MINOR", while others also create "foo-MAJOR" (and most also create 
"foo" without any versions).
It may seem like an overkill, but wouldn't it be best to standardize:
- which version is preferred (with or without dash)
- which of these three variants (foo-MAJOR.MINOR, foo-MAJOR, foo) should be 
created by default

Or better yet, I think it'd make sense to provide setuptools facilites to 
create these variants in a sensible default way and provide installation flags 
to alter this behaviour. Right now, it seems to me that every project is doing 
this on its own, which is not only inconsistent, but it also duplicates lots of 
efforts and is more error prone than providing one centralized solution (e.g. a 
function in distutils/setuptools).

Thoughts/comments?
Thanks!

-- 
Regards,
Bohuslav "Slavek" Kabrda.
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to