Skip to content

Instantly share code, notes, and snippets.

@dstufft
Created April 28, 2014 14:55
Show Gist options
  • Select an option

  • Save dstufft/11374549 to your computer and use it in GitHub Desktop.

Select an option

Save dstufft/11374549 to your computer and use it in GitHub Desktop.
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")
setup(
# ....
install_requires=install_requires
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment