Closed yasoob closed 5 years ago
Thanks for submitting a patch! Can I ask which OS/platform/distribution you've tested this on? I'm concerned that if I merge this patch in, it might be the case that older systems will no longer be able to install the python API correctly (I'm not sure yet if that is the case or now).
I tested this on Mac OS High Sierra with Python 3.7.
I also successfully installed it on Ubuntu 18.04.1 LTS with this patch. Python version 3.6.7. Once you merge this patch, I can also write install instructions for Ubuntu and add them to the readme.
Hmm, I also need to maintain support for older distributions. What if we instead did:
try:
from setuptools import setup
except ImportError as e:
from distutils.core import setup
(As seen here: https://stackoverflow.com/a/25359853)
Yeah that seems reasonable. 👍
Fixes the "Unknown distribution option: 'install_requires'" error while running
make install
.distribute is deprecated according to http://pythonhosted.org/distribute/: