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
9ab7bc54
Commit
9ab7bc54
authored
Oct 17, 2020
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up syntax on entry_points.console_scripts. Fixes #2429.
parent
7ff17392
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
docs/userguide/quickstart.rst
docs/userguide/quickstart.rst
+3
-4
No files found.
docs/userguide/quickstart.rst
View file @
9ab7bc54
...
@@ -106,16 +106,15 @@ use, go to :ref:`package_discovery`
...
@@ -106,16 +106,15 @@ use, go to :ref:`package_discovery`
Entry
points
and
automatic
script
creation
Entry
points
and
automatic
script
creation
===========================================
===========================================
Setuptools
support
automatic
creation
of
scripts
upon
installation
,
that
runs
Setuptools
support
automatic
creation
of
scripts
upon
installation
,
that
runs
code
within
your
package
if
you
specify
them
with
the
``
entry_point
``
keyword
.
code
within
your
package
if
you
specify
them
with
the
``
entry_point
s
``
keyword
.
This
is
what
allows
you
to
run
commands
like
``
pip
install
``
instead
of
having
This
is
what
allows
you
to
run
commands
like
``
pip
install
``
instead
of
having
to
type
``
python
-
m
pip
install
``.
To
accomplish
this
,
add
the
entry_points
to
type
``
python
-
m
pip
install
``.
To
accomplish
this
,
add
the
entry_points
keyword
in
your
``
setup
.
cfg
``:
keyword
in
your
``
setup
.
cfg
``:
..
code
-
block
::
ini
..
code
-
block
::
ini
[
options
]
[
options
.
entry_points
]
entry_points
=
console_scripts
=
[
console_script
]
main
=
mypkg
:
some_func
main
=
mypkg
:
some_func
When
this
project
is
installed
,
a
``
main
``
script
will
be
installed
and
will
When
this
project
is
installed
,
a
``
main
``
script
will
be
installed
and
will
...
...
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