When you call git to retrieve a version for this library, this won't work, if it has been installed via requirements. In mass_system_ssdeep this only works because there is a .git directory in the root directory. Of course this is not the repository for this library...
Also the git call in setup.py won't work either, if it is called from a source distribution. There are tools that already fix this kind of problem. e.g. https://pypi.python.org/pypi/setuptools_scm
When you call git to retrieve a version for this library, this won't work, if it has been installed via requirements. In mass_system_ssdeep this only works because there is a
.git
directory in the root directory. Of course this is not the repository for this library...You can try something like this
Also the git call in setup.py won't work either, if it is called from a source distribution. There are tools that already fix this kind of problem. e.g. https://pypi.python.org/pypi/setuptools_scm