Skip to content

Commit

Permalink
fix windows scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
snigdhasjg committed Jan 30, 2025
1 parent 834b396 commit 6bae8a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion aws_fusion/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.6.2'
__version__ = '1.7'
23 changes: 8 additions & 15 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,6 @@ def find_version(*file_paths):
return version_match.group(1)
raise RuntimeError("Unable to find version string.")

# Determine the scripts based on the operating system
if platform.system() in ["Linux", "Darwin"]:
scripts = [
'bin/_awsp',
'bin/_awsr'
]
if platform.system() == "Windows":
scripts = [
'bin/_awsp.ps1',
'bin/_awsr.ps1'
]
else:
scripts = []

setup(
name='aws-fusion',
version=find_version('aws_fusion', '__init__.py'),
Expand All @@ -56,7 +42,14 @@ def find_version(*file_paths):
'aws-fusion = aws_fusion.app:main',
]
},
scripts=scripts,
scripts=[
# For Linux & Darwin (MacOS)
'bin/_awsp',
'bin/_awsr',
# For Windows
'bin/_awsp.ps1',
'bin/_awsr.ps1'
],
install_requires=[
'boto3>=1.29',
'pyperclip>=1.8',
Expand Down

0 comments on commit 6bae8a3

Please sign in to comment.