Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(python): allow setting additional trove classifiers #1902

Merged
merged 2 commits into from
Aug 17, 2020

Conversation

RomainMuller
Copy link
Contributor

Setting the jsii.targets.python.classifiers property in package.json
to an array of strings will trigger insertion of those values in the
classifiers of the generated python package.

Classifiers are de-duplicated and normalized in setup.py. Some
classifiers prefixes are considered "managed" (an appropriate value is
automatically determined for those based on the package's metadata), and
while configuring those will not cause jsii-pacmak to fail, a warning
will be emitted as manually specifying any of those is usually a
Bad Idea™:

  • Development Status ::
  • License ::
  • Operating System ::
  • Typing ::

Existing (i.e: valid) trove classifiers are mastered in the
trove-classifiers PyPA
package.

This contributes to aws/cdk-ops#393


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Setting the `jsii.targets.python.classifiers` property in `package.json`
to an array of strings will trigger insertion of those values in the
`classifiers` of the generated python package.

Classifiers are de-duplicated and normalized in `setup.py`. Some
classifiers prefixes are considered "managed" (an appropriate value is
automatically determined for those based on the package's metadata), and
while configuring those will not cause `jsii-pacmak` to fail, a warning
will be emitted as manually specifying any of those is usually a
Bad Idea™:

- `Development Status ::`
- `License ::`
- `Operating System ::`
- `Typing ::`

Existing (i.e: valid) trove classifiers are mastered in the
[`trove-classifiers`](https://github.com/pypa/trove-classifiers) PyPA
package.

This contributes to aws/cdk-ops#393
@RomainMuller RomainMuller added language/python Related to Python bindings feature-request A feature should be added or improved. module/pacmak Issues affecting the `jsii-pacmak` module labels Aug 17, 2020
@RomainMuller RomainMuller requested a review from a team August 17, 2020 09:51
@RomainMuller RomainMuller self-assigned this Aug 17, 2020
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Aug 17, 2020
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
  • Commit ID: 88b6599
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@RomainMuller RomainMuller merged commit 26be2b6 into master Aug 17, 2020
@RomainMuller RomainMuller deleted the rmuller/python-addl-trove-classifiers branch August 17, 2020 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS. feature-request A feature should be added or improved. language/python Related to Python bindings module/pacmak Issues affecting the `jsii-pacmak` module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants