Open iconFehu opened 9 months ago
SG, you're welcome to create PRs with this change
I have created a Pull Request to address this issue. You can find it here.
Version Setting: This change will now read the version from the opcodes.__version__
variable to ensure consistency in versioning across the codebase.
README Update: This change also involves updating the README.md file to reflect the latest state of the project and usage instructions.
Dependency Update: Dependencies will now be read from the requirements.txt
file, facilitating easier management of project dependencies.
These changes aim to enhance the maintainability and consistency of the project while ensuring synchronization across various components. Thank you for your review and merge.
Description:
Issue Description:
The current configuration file format in use shows signs of being outdated, potentially hindering the project's adaptability and distancing it from modern Python development practices. To address this, I propose migrating to
pyproject.toml
, a widely accepted standard for Python projects introduced by PEP 518 and implemented in Python 3.7. This move aims to ensure our project stays current and well-supported.Advantages:
Standardization:
pyproject.toml
has become a widely accepted standard for Python project configuration. Adopting it will align our project with industry norms, fostering collaboration, and making integration with other tools and frameworks more straightforward.Future-Proofing: By embracing
pyproject.toml
, we future-proof our project, ensuring compatibility with evolving Python standards and best practices. This is crucial for maintaining the project's long-term viability and reducing technical debt.Historical Background:
The introduction of the
pyproject.toml
file was realized through PEP 518, titled "Specifying Minimum Build System Requirements for Python Projects." This PEP was accepted and implemented in Python 3.7, providing a standardized way to specify build system requirements for Python projects, replacing the previous use ofsetup.py
orsetup.cfg
files.Proposed Steps:
Configuration Migration: Swiftly transition the existing configuration to
pyproject.toml
to align with best practices in the Python community.Documentation Update: Promptly update project documentation to guide users and contributors through the new
pyproject.toml
configuration structure.Testing and Validation: Rigorously test the project's build and dependency management under the new configuration to guarantee a smooth transition without compromising project stability.
Additional Context:
I am willing to actively contribute to this migration process and submit a Pull Request promptly.
Thank you for your attention to this matter.