Skip to content

Commit d64aca7

Browse files
author
Ethan Hall
authored
Merge pull request #224 from zvezdan/update-pypi-url
Update PyPI URL.
2 parents db27cd5 + ccafee9 commit d64aca7

File tree

5 files changed

+6
-8
lines changed

5 files changed

+6
-8
lines changed

NOTICE

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ This project uses the following in the plugin:
1919
This project uses the following part of the python environment:
2020
argparse (https://github.com/ThomasWaldmann/argparse/) - Python Software Foundation License
2121
flake8 (https://gitlab.com/pycqa/flake8) - MIT
22-
pbr (https://launchpad.net/pbr) - Apache License 2.0
2322
pex (https://github.com/pantsbuild/pex) - Apache License 2.0
2423
pip (https://pip.pypa.io/) - MIT
2524
pytest (http://pytest.org) - MIT
2625
pytest-cov (https://github.com/pytest-dev/pytest-cov) - MIT
2726
pytest-xdist (https://github.com/pytest-dev/pytest-xdist) - MIT
2827
setuptools (https://github.com/pypa/setuptools) - MIT
2928
setuptools-git (https://github.com/wichert/setuptools-git) - BSD
30-
six (http://pypi.python.org/pypi/six/) - MIT
29+
six (http://pypi.org/pypi/six/) - MIT
3130
Sphinx (http://sphinx-doc.org/) - BSD
32-
unittest2 (http://pypi.python.org/pypi/unittest2) - BSD
3331
virtualenv (https://virtualenv.pypa.io/) - MIT
34-
wheel (https://bitbucket.org/pypa/wheel/) - MIT
32+
wheel (https://github.com/pypa/wheel/) - MIT

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Guide](https://docs.gradle.org/3.3/userguide/userguide.html).
1414
## Hosting
1515

1616
The Python community maintains [The Python Package
17-
Index](https://pypi.python.org/pypi), or PyPI for short, to host open source
17+
Index](https://pypi.org), or PyPI for short, to host open source
1818
Python artifacts.
1919

2020
Unfortunately, PyGradle cannot leverage PyPI yet for one primary reason: open

docs/plugins/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ plugins {
3333

3434
## pipConfig Examples
3535
Sometimes you need to configure pip inside of the venv itself. The most common use cases are when you don't use
36-
pypi.python.com, but you use your own internal pypi server, or you need to set a proxy. Typically, you can configure
36+
pypi.org, but you use your own internal pypi server, or you need to set a proxy. Typically, you can configure
3737
this with an operating system
3838
level pip.* file as documented on the [pip web site](https://pip.pypa.io/en/stable/user_guide/#config-file). But
3939
occasionally you need to configure this on a per-project basis. This is where this setting comes in. Take this example

pivy-importer/src/main/groovy/com/linkedin/python/importer/pypi/PypiApiCache.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class PypiApiCache {
3131
}
3232

3333
static private Map<String, Object> downloadMetadata(String dependency) {
34-
def url = "https://pypi.python.org/pypi/$dependency/json"
34+
def url = "https://pypi.org/pypi/$dependency/json"
3535
log.debug("Metadata url: {}", url)
3636
def proxy = ProxyDetector.maybeGetHttpProxy()
3737

pygradle-plugin/src/main/groovy/com/linkedin/gradle/python/util/pip/PipConfFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public PipConfFile(Project project, PythonDetails pythonDetails) {
4848
* Writes a new pip.conf file. You can configure the contents of this file with the python extension
4949
* or leave it blank for it to pick up the pip.conf in your system properties.
5050
* <p>
51-
* index-url = https://pypi.python.org/simple/
51+
* index-url = https://pypi.org/simple/
5252
*/
5353
public void buildPipConfFile() throws IOException {
5454

0 commit comments

Comments
 (0)