Bump version to 0.1.1 and add __init__.py to templates directory#13
Merged
Bump version to 0.1.1 and add __init__.py to templates directory#13
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR bumps the package version to 0.1.1 and adds an __init__.py to the templates directory to treat it as a Python package.
- Bump version from 0.1.0 to 0.1.1 in both
setup.pyandpyproject.toml - Add
templates/__init__.pyso thetemplatesfolder is recognized as a package - Simplify package data configuration in
setup.py
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| templates/init.py | New file to make templates a Python package |
| setup.py | Updated version and moved to using include_package_data |
| pyproject.toml | Updated version to match setup.py |
Comments suppressed due to low confidence (1)
setup.py:12
- [nitpick] Ensure that your MANIFEST.in file explicitly includes the
templates/directory so thatinclude_package_data=Truewill include those files in source distributions.
include_package_data=True, # This should make it read MANIFEST.in
| [project] | ||
| name = "openapi-mcp-generator" | ||
| version = "0.1.0" | ||
| version = "0.1.1" |
There was a problem hiding this comment.
[nitpick] Consider centralizing the version in a single source (either setup.py or pyproject.toml) or using a tool like setuptools_scm to avoid divergence between files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.