Skip to content

chore: fix project metadata and move pytest to dev dependencies#6

Open
Krivoblotsky wants to merge 1 commit into
mainfrom
chore/project-metadata
Open

chore: fix project metadata and move pytest to dev dependencies#6
Krivoblotsky wants to merge 1 commit into
mainfrom
chore/project-metadata

Conversation

@Krivoblotsky
Copy link
Copy Markdown
Contributor

Summary

  • pytest was listed as a runtime dependency in pyproject.toml — it is a dev tool and should not be installed for end users
  • Pillow was used by the package but not declared as a dependency
  • Added PyPI keywords and expanded classifiers for better discoverability
  • Added Research and Paper links to [project.urls]
  • requirements.txt updated to match

Test plan

  • pip install macapptree does not pull in pytest
  • pip install "macapptree[dev]" installs pytest
  • Package metadata shows correctly on PyPI preview

🤖 Generated with Claude Code

- Move pytest from runtime dependencies to [project.optional-dependencies]
  dev group — it has no business being installed by end users
- Add Pillow as an explicit runtime dependency (was used but undeclared)
- Add keywords for PyPI discoverability
- Expand classifiers with per-version Python entries, topic tags, and
  audience tags
- Add Research and Paper URLs to [project.urls]
- Update requirements.txt to match

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates package metadata and dependency declarations so end-user installs don’t include test tooling, while ensuring required runtime libraries (e.g., Pillow) are declared.

Changes:

  • Moved pytest out of runtime dependencies into an optional dev extra in pyproject.toml.
  • Added missing runtime dependency on Pillow and refreshed project metadata (description, keywords, classifiers, URLs).
  • Updated requirements.txt to reflect the dependency set (including a dev section).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
requirements.txt Adds Pillow and reorganizes entries, but still lists pytest under a “development” section.
pyproject.toml Removes pytest from runtime deps, adds Pillow, improves metadata, adds dev extra, and introduces a console script entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pyproject.toml
Comment on lines +45 to +47
[project.scripts]
macapptree = "macapptree.main:__main__"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants