Skip to content

Commit

Permalink
Replace legacy scripts, with pointers to the new location
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Mar 3, 2021
1 parent ef00027 commit 2360f02
Show file tree
Hide file tree
Showing 7 changed files with 120 additions and 129,704 deletions.
22,130 changes: 19 additions & 22,111 deletions 2.6/get-pip.py

Large diffs are not rendered by default.

23,981 changes: 19 additions & 23,962 deletions 2.7/get-pip.py

Large diffs are not rendered by default.

17,581 changes: 19 additions & 17,562 deletions 3.2/get-pip.py

Large diffs are not rendered by default.

20,656 changes: 19 additions & 20,637 deletions 3.3/get-pip.py

Large diffs are not rendered by default.

21,485 changes: 19 additions & 21,466 deletions 3.4/get-pip.py

Large diffs are not rendered by default.

23,981 changes: 19 additions & 23,962 deletions 3.5/get-pip.py

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions scripts/generate.py
Expand Up @@ -57,6 +57,12 @@

MOVED_SCRIPTS = {
# legacy: current
"2.6/get-pip.py": "pip/2.6/get-pip.py",
"2.7/get-pip.py": "pip/2.7/get-pip.py",
"3.2/get-pip.py": "pip/3.2/get-pip.py",
"3.3/get-pip.py": "pip/3.3/get-pip.py",
"3.4/get-pip.py": "pip/3.4/get-pip.py",
"3.5/get-pip.py": "pip/3.5/get-pip.py",
}


Expand Down Expand Up @@ -224,10 +230,6 @@ def generate_one(variant, mapping, *, console, pip_versions):
console.log(f" Writing [blue]{destination}")
destination.write_text(rendered_template)

legacy_destination = determine_destination(".", variant)
console.log(f" Writing [blue]{legacy_destination}")
legacy_destination.write_text(rendered_template)


def generate_moved(destination: str, *, location: str, console: Console):
template = Path("templates") / "moved.py"
Expand Down

0 comments on commit 2360f02

Please sign in to comment.