confluentinc / control-center-images

Docker images for enterprise control center images
Apache License 2.0
19 stars 12 forks source link

Code Improvements #98

Open JohnKimaiyo opened 6 months ago

JohnKimaiyo commented 6 months ago

Here's an improved version of the provided setup.py script for a Python package. This includes some enhancements for readability, error handling, and best practices:

Added error handling for reading requirements.txt. Used setuptools.find_packages() to automatically discover packages. Updated the Python version requirement to be more modern (>=3.6). Used install_requires instead of dependency_links for better dependency management.

cla-assistant[bot] commented 6 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.