pyflux icon indicating copy to clipboard operation
pyflux copied to clipboard

Update setup.py

Open jazzpher opened this issue 2 years ago • 1 comments

  • Add comments to explain various sections and functions.
  • Check Python version compatibility using six for a more concise and maintainable approach.
  • Utilize triple-quoted strings for docstrings to enhance documentation.
  • Employ f-strings for improved string formatting.
  • Use the with statement for file handling, ensuring files are properly closed.
  • Improve error handling by using subprocess.run to capture results and check for errors.
  • Utilize a list comprehension for the keywords list, making it more concise.
  • Specify the required Python version in the setup script using python_requires.

jazzpher avatar Oct 24 '23 16:10 jazzpher

it would have been nice to merge this, so pyflux can install on Python-3.12

stonebig avatar Dec 09 '23 18:12 stonebig