Skip to content

Instantly share code, notes, and snippets.

@devhero
Created April 23, 2018 09:26
Show Gist options
  • Save devhero/584f0fe4c5286ad77de6e7fc05406217 to your computer and use it in GitHub Desktop.
Save devhero/584f0fe4c5286ad77de6e7fc05406217 to your computer and use it in GitHub Desktop.
setuptools git library
# https://stackoverflow.com/questions/49847800/how-can-setuptools-dependency-links-be-used-with-the-latest-master-branch-of
setup(
...
install_requires=[
'krakenex;python_version<3',
'krakenex3;python_version>=3',
],
dependency_links = [
"git+https://github.com/veox/python2-krakenex.git#egg=krakenex;python_version<'3.0'",
"git+https://github.com/veox/python3-krakenex.git#egg=krakenex3;python_version>='3.0'",
],
...
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment