Skip to content

Commit 6bae8a3

Browse files
committed
fix windows scripts
1 parent 834b396 commit 6bae8a3

File tree

2 files changed

+9
-16
lines changed

2 files changed

+9
-16
lines changed

aws_fusion/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.6.2'
1+
__version__ = '1.7'

setup.py

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,6 @@ def find_version(*file_paths):
2222
return version_match.group(1)
2323
raise RuntimeError("Unable to find version string.")
2424

25-
# Determine the scripts based on the operating system
26-
if platform.system() in ["Linux", "Darwin"]:
27-
scripts = [
28-
'bin/_awsp',
29-
'bin/_awsr'
30-
]
31-
if platform.system() == "Windows":
32-
scripts = [
33-
'bin/_awsp.ps1',
34-
'bin/_awsr.ps1'
35-
]
36-
else:
37-
scripts = []
38-
3925
setup(
4026
name='aws-fusion',
4127
version=find_version('aws_fusion', '__init__.py'),
@@ -56,7 +42,14 @@ def find_version(*file_paths):
5642
'aws-fusion = aws_fusion.app:main',
5743
]
5844
},
59-
scripts=scripts,
45+
scripts=[
46+
# For Linux & Darwin (MacOS)
47+
'bin/_awsp',
48+
'bin/_awsr',
49+
# For Windows
50+
'bin/_awsp.ps1',
51+
'bin/_awsr.ps1'
52+
],
6053
install_requires=[
6154
'boto3>=1.29',
6255
'pyperclip>=1.8',

0 commit comments

Comments
 (0)