This is a sore point for many people. setuptoolsand easy_installhave some pretty weird rules trying to play with everyone. You can read the full rules in the method setuptools parse_version, but here's a summary:
. 4.5.6.7 , ("4", "5", "6", "7").
- . 2.4.0 - , 2.4; 2.4.05 2.4.5.
- . 2.4.a5 2.4.A5.
, , "" , , 2.4.5b , , 2.4.5.
, "pre", "preview" "rc" , "c". "dev" "@", . x.y.z-dev x.y.z.
, , , PEP 386.