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
0fc2a2ac
Commit
0fc2a2ac
authored
Dec 12, 2019
by
Géry Ogam
Committed by
GitHub
Dec 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update setuptools.txt
parent
1d03fdc9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
docs/setuptools.txt
docs/setuptools.txt
+6
-6
No files found.
docs/setuptools.txt
View file @
0fc2a2ac
...
@@ -62,7 +62,7 @@ Installing ``setuptools``
...
@@ -62,7 +62,7 @@ Installing ``setuptools``
To install the latest version of setuptools, use::
To install the latest version of setuptools, use::
pip install -
U
setuptools
pip install -
-upgrade
setuptools
Refer to `Installing Packages`_ guide for more information.
Refer to `Installing Packages`_ guide for more information.
...
@@ -1199,7 +1199,7 @@ command; see the section on the `develop`_ command below for more details.
...
@@ -1199,7 +1199,7 @@ command; see the section on the `develop`_ command below for more details.
Note that you can also apply setuptools commands to non-setuptools projects,
Note that you can also apply setuptools commands to non-setuptools projects,
using commands like this::
using commands like this::
python -c "import setuptools;
execfile('setup.py'
)" develop
python -c "import setuptools;
with open('setup.py') as f: exec(compile(f.read(), 'setup.py', 'exec')
)" develop
That is, you can simply list the normal setup commands and options following
That is, you can simply list the normal setup commands and options following
the quoted part.
the quoted part.
...
@@ -1215,7 +1215,7 @@ Detailed instructions to distribute a setuptools project can be found at
...
@@ -1215,7 +1215,7 @@ Detailed instructions to distribute a setuptools project can be found at
Before you begin, make sure you have the latest versions of setuptools and wheel::
Before you begin, make sure you have the latest versions of setuptools and wheel::
p
ython3 -m pip install --user
--upgrade setuptools wheel
p
ip install
--upgrade setuptools wheel
To build a setuptools project, run this command from the same directory where
To build a setuptools project, run this command from the same directory where
setup.py is located::
setup.py is located::
...
@@ -1229,15 +1229,15 @@ https://test.pypi.org/account/register/. You will also need to verify your email
...
@@ -1229,15 +1229,15 @@ https://test.pypi.org/account/register/. You will also need to verify your email
to be able to upload any packages.
to be able to upload any packages.
You should install twine to be able to upload packages::
You should install twine to be able to upload packages::
p
ython3 -m pip install --user --upgrade setuptools wheel
p
ip install --upgrade twine
Now, to upload these archives, run::
Now, to upload these archives, run::
twine upload --repository-url https://test.pypi.org/
legacy
/ dist/*
twine upload --repository-url https://test.pypi.org/
simple
/ dist/*
To install your newly uploaded package ``example_pkg``, you can use pip::
To install your newly uploaded package ``example_pkg``, you can use pip::
p
ython3 -m p
ip install --index-url https://test.pypi.org/simple/ example_pkg
pip install --index-url https://test.pypi.org/simple/ example_pkg
If you have issues at any point, please refer to `Packaging project tutorials`_
If you have issues at any point, please refer to `Packaging project tutorials`_
for clarification.
for clarification.
...
...
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