How to write a setup.py
that would git clone a repository online to a specific directory (like external/
)? This is for a python/c++ hybrid project.
I tried to write a setup.py
with:
setup(
name='test',
...
dependency_links=['https://blah/master.zip'],
)
But that doesn't work.
I also can't use #egg=xyz
described in (Fetching remote git branch through Python setuptools) because it is not a python repository.
The c++ repository is a header-only library.