Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
e221bdf3
Commit
e221bdf3
authored
Jun 29, 2014
by
Martin Geisler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos
parent
4acb16a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
setuptools/tests/win_script_wrapper.txt
setuptools/tests/win_script_wrapper.txt
+4
-4
No files found.
setuptools/tests/win_script_wrapper.txt
View file @
e221bdf3
...
...
@@ -3,7 +3,7 @@ Python Script Wrapper for Windows
setuptools includes wrappers for Python scripts that allows them to be
executed like regular windows programs. There are 2 wrappers, once
for command-line programs, cli.exe, and one for graphica programs,
for command-line programs, cli.exe, and one for graphica
l
programs,
gui.exe. These programs are almost identical, function pretty much
the same way, and are generated from the same source file. The
wrapper programs are used by copying them to the directory containing
...
...
@@ -44,7 +44,7 @@ We'll also copy cli.exe to the sample-directory with the name foo.exe:
When the copy of cli.exe, foo.exe in this example, runs, it examines
the path name it was run with and computes a Python script path name
by removing the '.exe' suffi
c
and adding the '-script.py' suffix. (For
by removing the '.exe' suffi
x
and adding the '-script.py' suffix. (For
GUI programs, the suffix '-script-pyw' is added.) This is why we
named out script the way we did. Now we can run out script by running
the wrapper:
...
...
@@ -68,8 +68,8 @@ This example was a little pathological in that it exercised windows
- Double quotes in strings need to be escaped by preceding them with
back slashes.
- One or more backslashes preceding double quotes
quotes need to be
escaped by preceding each of them
them with back slashes.
- One or more backslashes preceding double quotes
need to be escaped
by preceding each of
them with back slashes.
Specifying Python Command-line Options
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment