s3transfer icon indicating copy to clipboard operation
s3transfer copied to clipboard

Refactor setup.py to use Path and read_text for file reading

Open mahdirahimi1999 opened this issue 11 months ago • 0 comments

Changes:

  • Updated setup.py to use Path.read_text() instead of open() for reading files.
  • Simplified version retrieval and long description loading using pathlib.Path.

Benefits:

  • Cleaner and more efficient file handling.
  • Improved readability and modern Python practices.

Files Modified:

  • setup.py

mahdirahimi1999 avatar Mar 28 '25 22:03 mahdirahimi1999