Closed virajut closed 3 years ago
This issue is specifically on the develop
branch. On the master, there is install_requires = ['six', 'python-dateutil>=2.7'] which is not causing any issues.
This is my very first contribution to this repo and not sure if this pull request is required separately for the develop branch or develop branch is not up to date yet with the changes from master.
Looking forward for suggestions / comments / improvements required.
Fixed via your PR #835, @virajut. Thanks!
Regards, Stennie
I was trying to install mtools from source. I've cloned the repository, I was on
develop
and have tested it with Python3.6 and Python 3.9. While runningpython setup.py install
it throws an errorI can see that there is no initialisation of that list which would be causing above error.
Because of this error, Installation using source code is getting failed.
I've resolved this in my local but would love to hear an opinion on which option to go with.
I've currently initialised an empty list for
install_requires
and have created pull request with the same.Expected behavior
By running
python setup.py install
, it should install mtools package without errors considering all the dependencies / required packages have been installed by runningpip install -r requirements.txt
in very previous step.This behavior is specifically on
develop
branch.Actual/current behavior
Having source code of
develop
branch, By runningpython setup.py install
right after installing all the required dependencies(pip install -r requirements.txt)
, it fails with below error.Steps to reproduce the actual/current behavior
pip install -r requirements.txt
python setup.py install
Environment