Skip to content

Commit d57ce4e

Browse files
Installer (#1864)
* Adds a File Manager pane. Jumps to folder or file when open project. * Better activation of file or directory opened * First working version of File panel. Double click of files to open, in RIDE or external simple editor. * Minor refactoring * Feature: When invalid data file, open in Code Editor * Fixes installer * Add Pywin32 dependency on run time, when in Windows * Better launch of postinstaller.
1 parent 55e44be commit d57ce4e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
SOURCE_DIR = 'src'
2525
REQUIREMENTS = ['wxPython']
2626

27+
#Windows specific requirements
2728
if sys.platform == 'win32':
2829
REQUIREMENTS.append('Pywin32')
2930

@@ -62,7 +63,9 @@ class CustomInstallCommand(install):
6263
def run(self):
6364
install.run(self)
6465
_ = sys.stderr.write("Creating Desktop Shortcut to RIDE...\n")
65-
os.system(sys.executable + " -m robotide.postinstall -install")
66+
postinstaller_file = join(ROOT_DIR, 'src', 'robotide', 'postinstall', '__main__.py')
67+
command = sys.executable + " " +postinstaller_file + " -install"
68+
os.system(command)
6669

6770
setup(
6871
name='robotframework-ride',

src/robotide/postinstall/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def verify_install():
4545
"or pip install wxPython")
4646
return False
4747
else:
48-
sys.stderr.write("wxPython is installed.\n%s" % version())
48+
sys.stderr.write("wxPython is installed.\n%s\n" % version())
4949
return True
5050

5151

0 commit comments

Comments
 (0)