Skip to content

Commit

Permalink
update project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
snigdhasjg committed Nov 7, 2023
1 parent 58049af commit 30a3012
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 22 deletions.
17 changes: 16 additions & 1 deletion aws_console/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
__version__ = '0.2.0'
from .input_output.cli import parse_arguments
from .input_output.browser import open_console

from .credentials import aws_credentials
from .aws_console_login import signin_url

__version__ = '0.3'


def aws_console():
args = parse_arguments()

creds, region_name = aws_credentials(args)
url = signin_url(creds, region_name)

open_console(url, args)
16 changes: 0 additions & 16 deletions aws_console/main.py

This file was deleted.

19 changes: 14 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,38 @@ def find_version(*file_paths):

setup(
name='aws_console',
version=find_version("aws_console", "__init__.py"),
version=find_version('aws_console', '__init__.py'),
description='AWS Console Login Utility',
keywords = [
'aws',
'aws-sdk',
'aws-cli',
'aws-authentication',
'aws-sdk-python',
'aws-auth'
],
long_description=read("README.md"),
packages=find_packages(),
entry_points={
'console_scripts': [
'aws-console = aws_console.main:main'
'aws-console = aws_console:aws_console'
]
},
install_requires=[
'boto3>=1.28',
'pyperclip>=1.8,<1.9'
],
author='Snigdhajyoti Ghosh',
author_email='[email protected]',
url='https://github.com/snigdhasjg/aws-console',
license="MIT License",
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: MacOS',
'Operating System :: POSIX :: Linux',
'Development Status :: 4 - Beta'
'Operating System :: OS Independent',
'Development Status :: 5 - Production/Stable',
'Topic :: Utilities'
],
)

0 comments on commit 30a3012

Please sign in to comment.