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
2ce065e4
Commit
2ce065e4
authored
Jan 15, 2020
by
Géry Ogam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the python command from setup.py calls
parent
0cd3dfc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
docs/setuptools.txt
docs/setuptools.txt
+7
-7
No files found.
docs/setuptools.txt
View file @
2ce065e4
...
...
@@ -88,7 +88,7 @@ packages in the directory where the setup.py lives. See the `Command
Reference`_ section below to see what commands you can give to this setup
script. For example, to produce a source distribution, simply invoke::
python
setup.py sdist
setup.py sdist
Of course, before you release your project to PyPI, you'll want to add a bit
more information to your setup script to help people find or learn about your
...
...
@@ -1220,7 +1220,7 @@ Before you begin, make sure you have the latest versions of setuptools and wheel
To build a setuptools project, run this command from the same directory where
setup.py is located::
python3
setup.py sdist bdist_wheel
setup.py sdist bdist_wheel
This will generate distribution archives in the `dist` directory.
...
...
@@ -1469,7 +1469,7 @@ tagging the release, so the trunk will still produce development snapshots.
Alternately, if you are not branching for releases, you can override the
default version options on the command line, using something like::
python
setup.py egg_info -Db "" sdist bdist_egg
setup.py egg_info -Db "" sdist bdist_egg
The first part of this command (``egg_info -Db ""``) will override the
configured tag information, before creating source and binary eggs. Thus, these
...
...
@@ -1479,11 +1479,11 @@ build designation string.
Of course, if you will be doing this a lot, you may wish to create a personal
alias for this operation, e.g.::
python
setup.py alias -u release egg_info -Db ""
setup.py alias -u release egg_info -Db ""
You can then use it like this::
python
setup.py release sdist bdist_egg
setup.py release sdist bdist_egg
Or of course you can create more elaborate aliases that do all of the above.
See the sections below on the `egg_info`_ and `alias`_ commands for more ideas.
...
...
@@ -1873,12 +1873,12 @@ Other ``egg_info`` Options
Creating a dated "nightly build" snapshot egg::
python
setup.py egg_info --tag-date --tag-build=DEV bdist_egg
setup.py egg_info --tag-date --tag-build=DEV bdist_egg
Creating a release with no version tags, even if some default tags are
specified in ``setup.cfg``::
python
setup.py egg_info -RDb "" sdist bdist_egg
setup.py egg_info -RDb "" sdist bdist_egg
(Notice that ``egg_info`` must always appear on the command line *before* any
commands that you want the version changes to apply to.)
...
...
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