Skip to content

Add compatibility with awscli v2#11

Open
drewish wants to merge 1 commit intoemdgroup:masterfrom
drewish:master
Open

Add compatibility with awscli v2#11
drewish wants to merge 1 commit intoemdgroup:masterfrom
drewish:master

Conversation

@drewish
Copy link

@drewish drewish commented Oct 11, 2021

This addresses the issues I was running into with #10

I'm not sure if this is the way you'd want to do it but it allow it to be installed and used with the v2 client.

@CLAassistant
Copy link

CLAassistant commented Oct 11, 2021

CLA assistant check
All committers have signed the CLA.

README.md Outdated
# alternatively, edit ~/.aws/config and add the plugin manually
[plugins]
name = awscli.plugins.s3touch
name = s3touch
Copy link
Author

Choose a reason for hiding this comment

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

It probably doesn't make sense to leave this as name. Maybe we want to change the package name to awscli_s3touch and then this line would be:

s3touch = awscli_s3touch

Copy link
Author

Choose a reason for hiding this comment

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

Switched name to s3touch but we might want to choose something else.

description='Simulate S3 events without re-uploading a file.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
packages = ['awscli.plugins.s3touch'],
Copy link
Author

Choose a reason for hiding this comment

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

I'm not sure why this was working before. Was something creating a plugin module in v1?

package_dir={'':'src'},
version = '0.1.0',
install_requires=['awscli'],
install_requires=['awscli', 'boto3'],
Copy link
Author

Choose a reason for hiding this comment

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

Was this an implicit dependency of awscli in v1?

- Move module out of awscli.plugins namespace
- Add an explicit dependency on boto3
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