sunspec / pysunspec2

SunSpec Python library for interfacing with SunSpec devices.
Apache License 2.0
57 stars 22 forks source link

SetuptoolsDeprecationWarning: setup.py install is deprecated. #86

Closed tk1 closed 10 months ago

tk1 commented 10 months ago

When trying to install with

python .\setup.py install

I get the warning: SetuptoolsDeprecationWarning: setup.py install is deprecated.

ttansy commented 10 months ago

pysunspec needs maintenance.

Tom Tansy SunSpec Alliance 831-227-1073 @.***

On Tue, Jan 2, 2024 at 6:49 AM tk1 @.***> wrote:

When trying to install with

python .\setup.py install

I get the warning: SetuptoolsDeprecationWarning: setup.py install is deprecated.

— Reply to this email directly, view it on GitHub https://github.com/sunspec/pysunspec2/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA37CSXOCSHQ5BXO2MV25ALYMQM7XAVCNFSM6AAAAABBKEKEYKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DENJSGYZDKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ttansy commented 10 months ago

Hi Tom,

It seems like the 'python setup.py install' has been deprecated. Here's the article talking about it: https://packaging.python.org/en/latest/discussions/setup-py-deprecated/

I believe we just need to change the Readme on github to state 'Use pip install pysunspec2' for installation. That's the recommended command for installation and it works fine. I will make that change.

Thanks, Kudrat

Kudrat Kaur @.***

SunSpec Alliance

On Tuesday, January 2nd 2024, 9:35:18 AM @. @.> wrote:

pysunspec needs maintenance.

Tom Tansy SunSpec Alliance 831-227-1073 @.***

On Tue, Jan 2, 2024 at 6:49 AM tk1 @.***> wrote:

When trying to install with

python .\setup.py install

I get the warning: SetuptoolsDeprecationWarning: setup.py install is deprecated.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Desk tracking: [DESK-3b2n-2nqmh]

ttansy commented 10 months ago

Sounds good Kudrat. Thanks for making the change.

Let's make a plan for supporting this project. Should we co-opt the Modbus group once per month?

Tom Tansy SunSpec Alliance 831-227-1073 @.***

On Wed, Jan 3, 2024 at 11:44 AM SunSpec Support @.***> wrote:

Hi Tom,

It seems like the 'python setup.py install' has been deprecated. Here's the article talking about it: https://packaging.python.org/en/latest/discussions/setup-py-deprecated/

I believe we just need to change the Readme on github to state 'Use pip install pysunspec2' for installation. That's the recommended command for installation and it works fine. I will make that change.

Thanks, Kudrat

Kudrat Kaur @.***

SunSpec Alliance

On Tuesday, January 2nd 2024, 9:35:18 AM @. @.> wrote:

pysunspec needs maintenance.

Tom Tansy SunSpec Alliance 831-227-1073 @.***

On Tue, Jan 2, 2024 at 6:49 AM tk1 @.***> wrote:

When trying to install with

python .\setup.py install

I get the warning: SetuptoolsDeprecationWarning: setup.py install is deprecated.

— Reply to this email directly, view it on GitHub https://github.com/sunspec/pysunspec2/issues/86, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA37CSXOCSHQ5BXO2MV25ALYMQM7XAVCNFSM6AAAAABBKEKEYKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3DENJSGYZDKMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Desk tracking: [DESK-3b2n-2nqmh] [image: read tracking] [image: read tracking] [image: read tracking]

tk1 commented 10 months ago

Hi Tom, It seems like the 'python setup.py install' has been deprecated.

I installed it via pip, but my intention was to say that the documentation is outdated.

Kudrat9 commented 10 months ago

Hi @tk1 Thanks for pointing that out. We've updated the Readme to install using pip and mentioned the python setup.py install is deprecated.