Closed greyli closed 2 years ago
IMO, when installing the Python package from the source code,
python setup.py install
will install all the requirements defined in theinstall_requires
argument ofsetup()
, there is no need to usepip install -r requirements.txt
. So I removed this redundant step in the installation instruction.Besides, to install a Python from source,
pip install .
is preferred overpython setup.py install
since you can easily uninstall the package with the former way. So I usepip install .
to replace the old command.I also move the pip way to the first to follow the official docs (and this should be the recommended way to install Nebula-Python).
I will update the corresponding section in the Chinese/English docs if this PR got merged
I think you can also change the install way in yml
file.
and do not delete the requirements.txt
may better, because developer may also need some test to install requirements-dev.
I think you can also change the install way in yml file.
Which yml file?
and do not delete the requirements.txt may better, because developer may also need some test to install requirements-dev.
Sure, I didn't plan to delete them, these requirement files are normally for developers (but they need to be pinned, see #153 ).
I think you can also change the install way in yml file.
Which yml file?
and do not delete the requirements.txt may better, because developer may also need some test to install requirements-dev.
Sure, I didn't plan to delete them, these requirement files are normally for developers (but they need to be pinned, see #153 ).
Cool got your point.
IMO, when installing the Python package from the source code,
python setup.py install
will install all the requirements defined in theinstall_requires
argument ofsetup()
, there is no need to usepip install -r requirements.txt
. So I removed this redundant step in the installation instruction.Besides, to install a Python from source,
pip install .
is preferred overpython setup.py install
since you can easily uninstall the package with the former way. So I usepip install .
to replace the old command.I also move the pip way to the first to follow the official docs (and this should be the recommended way to install Nebula-Python).
I will update the corresponding section in the Chinese/English docs if this PR got merged.