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
8385649c
Commit
8385649c
authored
Jun 11, 2013
by
Arfrever Frehtes Taifersar Arahesis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update some URLs (packages.python.org -> pythonhosted.org).
parent
fbbc3e19
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
CHANGES.txt
CHANGES.txt
+1
-1
docs/setuptools.txt
docs/setuptools.txt
+1
-1
setuptools/command/easy_install.py
setuptools/command/easy_install.py
+3
-3
setuptools/command/upload_docs.py
setuptools/command/upload_docs.py
+2
-2
No files found.
CHANGES.txt
View file @
8385649c
...
...
@@ -495,7 +495,7 @@ how it parses version numbers.
This closes issue #52.
* Added an upload_docs command to easily upload project documentation to
PyPI's http
://packages.python
.org. This close issue #56.
PyPI's http
s://pythonhosted
.org. This close issue #56.
* Fixed a bootstrap bug on the use_setuptools() API.
...
...
docs/setuptools.txt
View file @
8385649c
...
...
@@ -2414,7 +2414,7 @@ The ``upload`` command has a few options worth noting:
======================================================
PyPI now supports uploading project documentation to the dedicated URL
http
://packages.python
.org/<project>/.
http
s://pythonhosted
.org/<project>/.
The ``upload_docs`` command will create the necessary zip file out of a
documentation directory and will post to the repository.
...
...
setuptools/command/easy_install.py
View file @
8385649c
...
...
@@ -7,7 +7,7 @@ A tool for doing automatic download/extract/build of distutils-based Python
packages. For detailed documentation, see the accompanying EasyInstall.txt
file, or visit the `EasyInstall home page`__.
__ http
://packages.python
.org/setuptools/easy_install.html
__ http
s://pythonhosted
.org/setuptools/easy_install.html
"""
import
sys
...
...
@@ -467,7 +467,7 @@ variable.
For information on other options, you may wish to consult the
documentation at:
http
://packages.python
.org/setuptools/easy_install.html
http
s://pythonhosted
.org/setuptools/easy_install.html
Please make the appropriate changes for your system and try again.
"""
...
...
@@ -1254,7 +1254,7 @@ Here are some of your options for correcting the problem:
* You can set up the installation directory to support ".pth" files by
using one of the approaches described here:
http
://packages.python
.org/setuptools/easy_install.html#custom-installation-locations
http
s://pythonhosted
.org/setuptools/easy_install.html#custom-installation-locations
Please make the appropriate changes for your system and try again."""
%
(
self
.
install_dir
,
os
.
environ
.
get
(
'PYTHONPATH'
,
''
)
...
...
setuptools/command/upload_docs.py
View file @
8385649c
...
...
@@ -2,7 +2,7 @@
"""upload_docs
Implements a Distutils 'upload_docs' subcommand (upload documentation to
PyPI's p
ackages.python
.org).
PyPI's p
ythonhosted
.org).
"""
import
os
...
...
@@ -185,7 +185,7 @@ class upload_docs(upload):
elif
r
.
status
==
301
:
location
=
r
.
getheader
(
'Location'
)
if
location
is
None
:
location
=
'http
://packages.python
.org/%s/'
%
meta
.
get_name
()
location
=
'http
s://pythonhosted
.org/%s/'
%
meta
.
get_name
()
self
.
announce
(
'Upload successful. Visit %s'
%
location
,
log
.
INFO
)
else
:
...
...
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