Use pip instead of using setup.py directly to install gkcore

Summary

Currently python setup.py develop is used in the development setup script (gkcore_cli.py). Using setup.py directly to install packages is no longer recommended. pip install --editable . is the recommended command instead.

References:

  1. https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
  2. https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html

Steps to reproduce

Follow the development setup instructions in the README.

Current behavior?

python setup.py develop step in the ./gkcore_cli.py script emits warning about the deprecation of setup.py

Expected Behavior?

Installation completes without any deprecation warning.

Relevant logs and/or screenshots

The following warning is emitted during the installation:

gkenv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.

        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.

Possible fixes

Use pip install --editable . instead of python setup.py develop as documented here.

Edited by Ambady Anand S