gpt-computer-agent icon indicating copy to clipboard operation
gpt-computer-agent copied to clipboard

The logic for handling Windows and Darwin (macOS) specific dependenci…

Open gitworkflows opened this issue 4 months ago • 4 comments

User description

…es remains the same but is now more concise and integrated.

Category:

One of: Bugfix / Feature / Code style update / Refactoring Only / Build related changes / Documentation / Other (please specify)

Overview

Briefly outline your new changes...

Issue Number (if applicable) #00

New Vars (if applicable)

If you've added any new build scripts, environmental variables, config file options, dependency or devDependency, please outline here

Screenshot (if applicable)

If you've introduced any significant UI changes, please include a screenshot

Code Quality Checklist (Please complete)

  • [ ] All changes are backwards compatible
  • [ ] All lint checks and tests are passing
  • [ ] There are no (new) build warnings or errors
  • [ ] (If a new config option is added) Attribute is outlined in the schema and documented
  • [ ] (If a new dependency is added) Package is essential, and has been checked out for security or performance
  • [*] (If significant change) Bumps version in package.json

PR Type

enhancement, configuration changes


Description

  • Enhanced the setup.py script to use find_packages for dynamic package discovery, simplifying package management.
  • Refactored the handling of platform-specific dependencies for Windows and macOS to be more concise.
  • Introduced extras_require to manage optional dependencies, allowing for more flexible installations.
  • Updated the console_scripts entry point to reflect the new project structure.

Changes walkthrough 📝

Relevant files
Enhancement
setup.py
Enhance package setup with dynamic discovery and optional dependencies

setup.py

  • Added find_packages for dynamic package discovery.
  • Refactored platform-specific dependency handling.
  • Introduced extras_require for optional dependencies.
  • Updated console_scripts entry point.
  • +38/-42 

    💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

    Summary by Sourcery

    Refactor the setup script to streamline platform-specific dependencies and improve package discovery using find_packages.

    Enhancements:

    • Refactor platform-specific dependency handling to be more concise and integrated.
    • Use find_packages to automatically discover packages, simplifying package management.

    gitworkflows avatar Sep 27 '24 08:09 gitworkflows