Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c54d9256
Commit
c54d9256
authored
Feb 19, 2004
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor markup improvements
parent
d3b33b5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
Doc/dist/dist.tex
Doc/dist/dist.tex
+9
-9
No files found.
Doc/dist/dist.tex
View file @
c54d9256
...
...
@@ -1417,7 +1417,7 @@ python setup.py bdist --formats=wininst
If you have a pure module distribution (only containing pure Python
modules and packages), the resulting installer will be version
independent and have a name like
\file
{
foo-1.0.win32.exe
}
. These
installers can even be created on
\UNIX
{}
or MacOS platforms.
installers can even be created on
\UNIX
{}
or Mac
OS platforms.
If you have a non-pure distribution, the extensions can only be
created on a Windows platform, and will be Python version dependent.
...
...
@@ -1454,13 +1454,13 @@ script must be specified, and the script filename must also be listed
in the scripts argument to the setup function.
This script will be run at installation time on the target system
after all the files have been copied, with
argv[1] set to '-install',
and again at uninstallation time before the files are removed with argv[1]
set to '-remove'
.
after all the files have been copied, with
\code
{
argv[1]
}
set to
\programopt
{
-install
}
, and again at uninstallation time before the
files are removed with
\code
{
argv[1]
}
set to
\programopt
{
-remove
}
.
The installation script runs embedded in the windows installer, every
output (
sys.stdout, sys.stderr) is redirected into a buffer and will
be displayed in the GUI after the script has finished.
output (
\code
{
sys.stdout
}
,
\code
{
sys.stderr
}
) is redirected into a
b
uffer and will b
e displayed in the GUI after the script has finished.
Some functions especially useful in this context are available in the
installation script.
...
...
@@ -1502,11 +1502,11 @@ to the folder. 'csidl_string' must be one of the following strings:
"CSIDL
_
FONTS"
\end{verbatim}
If the folder cannot be retrieved,
OSError
is raised.
If the folder cannot be retrieved,
\exception
{
OSError
}
is raised.
Which folders are available depends on the exact Windows version, and probably
also the configuration. For details refer to Microsoft's documentation of the
\c
ode
{
SHGetSpecialFolderPath
}
function.
\c
function
{
SHGetSpecialFolderPath()
}
function.
\begin{verbatim}
create
_
shortcut(target, description, filename[, arguments[,
...
...
@@ -1522,7 +1522,7 @@ This function creates a shortcut.
\var
{
iconpath
}
is the file containing the icon for the shortcut,
and
\var
{
iconindex
}
is the index of the icon in the file
\var
{
iconpath
}
. Again, for details consult the Microsoft
documentation for the
\c
ode
{
IShellLink
}
interface.
documentation for the
\c
lass
{
IShellLink
}
interface.
\section
{
Registering with the Package Index
}
\label
{
package-index
}
...
...
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