- ~= - Compatible release operator, Allows everything in the same series (e.g. ~=1.1 allows >=1.1 but stil within the 1.x series)
- == - Equality operator, The public API version must be the same but zero padded, (==1.0 allows 1.0, or 1, or 1.0.0). This also allows anything with a "downstream patch" version such as 1.0+debian3. This does support specifying exactly a downstream patch too, such as ==1.0+debian3
- === - Identity operator, Primarily a escape hatch for versions which cannot be parsed for semantic information, but can also be used to say you do not except downstream patches at all such as ===1.0 would not match 1.0+debian3. This also does not allow zero padding. This is essentially saying to use string equality instead of version equality.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[fruit]] | |
name = "apple" | |
[fruit.physical] | |
color = "red" | |
shape = "round" | |
[[fruit.variety]] | |
name = "red delicious" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proc = subprocess.Popen(["pip", "install", "initools==0.2", "-vvv"], | |
cwd=cwd, | |
# see http://bugs.python.org/issue8557 | |
shell=(sys.platform == 'win32'), | |
env=clean_environ(self.environ)) | |
stdout, stderr = proc.communicate() # hangs forever |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<a href="git+https://github.com/dstufft/packaging.git#egg=packaging-1.0">Thing</a> | |
</body> | |
</html> |
PIL 6133 mysql-connector-python 209 pyodbc 174 elementtree 141 Pygame 139 cx_Oracle 123 python-graph-core 118
The number of hits the /simple/ page got for each project on 2014-05-14. The list of projects represents all of the projects which host completely off of PyPI.
PIL 72616 mysql-connector-python 926 pyodbc 599 elementtree 580 cx_Oracle 514
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
"BOTEC", | |
"CAGE", | |
"CSBuddy", | |
"FauxIdent", | |
"LSystem", | |
"PyX", | |
"ZOE", | |
"bitbucket-distutils", | |
"dutest-trac", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: python | |
python: | |
2.6 | |
2.7 | |
2.7_with_system_site_packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
install_requires = [] | |
if sys.platform == "win32": | |
install_requires.append("cryptography-win32") | |
elif sys.platform == "darwin": | |
install_requires.append("cryptography-commoncrypto") | |
else: | |
intall_requires.append("cryptography-openssl") |