5
5
* [ Installation via Package Manager] ( #installation-via-package-manager )
6
6
* [ Detailed installation explanation for
7
7
packagers] ( #detailed-installation-explanation-for-packagers )
8
+ * [ Installation as Python Package from
9
+ PyPI] ( #installation-as-python-package-from-pypi )
8
10
* [ Installation via Makefile] ( #installation-via-makefile )
9
11
* [ Notes for Windows Users] ( #notes-for-windows-users )
10
12
@@ -132,10 +134,21 @@ So, installation might look something like the following:
132
134
133
135
or you can use the provided Makefile, as noted below.
134
136
137
+ # Installation as Python Package from PyPI
138
+
139
+ ` git-filter-repo ` is also available as
140
+ [ PyPI-package] ( https://pypi.org/project/git-filter-repo/ ) .
141
+
142
+ Therefore, it can be installed with [ pipx] ( https://pypa.github.io/pipx/ )
143
+ or [ uv tool] ( https://docs.astral.sh/uv/concepts/tools/ ) .
144
+ Command example for pipx:
145
+
146
+ ` pipx install git-filter-repo `
147
+
135
148
# Installation via Makefile
136
149
137
150
Installing should be doable by hand, but a Makefile is provided for those
138
- that prefer it. However, usage of the Makefile really requires overridding
151
+ that prefer it. However, usage of the Makefile really requires overriding
139
152
at least a couple of the directories with sane values, e.g.
140
153
141
154
$ make prefix=/usr pythondir=/usr/lib64/python3.8/site-packages install
@@ -146,6 +159,10 @@ you'll still need to do that yourself.
146
159
147
160
# Notes for Windows Users
148
161
162
+ git-filter-repo can be installed with multiple tools, such as
163
+ [ pipx] ( https://pypa.github.io/pipx/ ) or a Windows-specific package manager
164
+ like Scoop (both of which were covered above).
165
+
149
166
Sadly, Windows sometimes makes things difficult. Common and historical issues:
150
167
151
168
* ** Non-functional Python stub** : Windows apparently ships with a
0 commit comments