问题
I want to let setuptools install Phoenix in my project and thus added
setup(
...
dependency_links = [
"git+https://github.com/wxWidgets/Phoenix.git#egg=Phoenix"
],
install_requires = ["Phoenix"],
...
)
to my setup.py, but Phoenix' setuptools setup depends on a recursive git clone. How to tell the setuptools setup of my project to do git clone --recursive for Phoenix?
Defining a git alias with git config --global alias.clone 'clone --recursive' doesn't change anything.
I'm using setuptools 18.2 with python 2.7 on Ubuntu 15.04.
来源:https://stackoverflow.com/questions/32386794/how-to-make-setuptools-clone-git-dependencies-recursively