honeybadger-io / honeybadger-python

Send Python and Django errors to Honeybadger.
https://www.honeybadger.io/
MIT License
15 stars 25 forks source link

deprecated installers #133

Open dotysan opened 1 year ago

dotysan commented 1 year ago

python setup.py develop

EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
subzero10 commented 1 year ago

Thank you for reporting this @dotysan. We'll get that fixed soon.

dotysan commented 1 year ago

Testing pip install --editable . in lieu of python setup.py develop:

Obtaining file:///home/curtis/src/honeybadger-python
  Preparing metadata (setup.py) ... done
Collecting psutil (from honeybadger==0.15.2)
  Downloading psutil-5.9.5-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (282 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 282.1/282.1 kB 14.2 MB/s eta 0:00:00
Collecting six (from honeybadger==0.15.2)
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, psutil, honeybadger
  Running setup.py develop for honeybadger
Successfully installed honeybadger-0.15.2 psutil-5.9.5 six-1.16.0

Note pip installs psutil as a wheel whereas with easy_install it was an egg. But it appears to work.

dotysan commented 1 year ago

This will be fixes in upcoming PR I'm polishing that deletes setup.py entirely!

dotysan commented 1 year ago

Will be fixed if #153 or a variant is merged.