Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
Fix missing entry_point on Windows #45
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Feb 13, 2020
1 parent fcafdbc commit 11b5b26
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion guiscrcpy/platform/darwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def make_config():
if not os.path.exists(path):
try:
os.makedirs(path)
return True
except Exception as e:
logging.error(
"Error creating configuration file in dir {path}. Error code:{e}"
Expand Down
1 change: 0 additions & 1 deletion guiscrcpy/platform/linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def make_config():
if not os.path.exists(path):
try:
os.makedirs(path)
return True
except Exception as e:
logging.error(
"Error creating configuration file in dir {path}. Error code:{e}"
Expand Down
1 change: 0 additions & 1 deletion guiscrcpy/platform/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def make_config():
if not os.path.exists(path):
try:
os.makedirs(path)
return True
except Exception as e:
logging.error(
"Error creating configuration file in dir {path}. Error code:{e}"
Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
include_package_data=True,
install_requires=['PyQt5==5.14.1', 'psutil', 'pynput', 'gitpython'],
scripts=["scripts/guiscrcpy", "scripts/guiscrcpy-mapper"],
entry_points={
'console_scripts': [
'guiscrcpy = guiscrcpy.launcher:bootstrap',
]
},
classifiers=['Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.6',
Expand Down

0 comments on commit 11b5b26

Please sign in to comment.