Commit 4ff15cd
committed
Use setup.py entry_points for installation
This should make the installation via pip more robust.
On Windows the usage of entry_points will install a wrapper executable
for the script that chooses the proper python executable. This
essentially makes the script run correctly when called via `git
filter-repo` (direct execution via `git-filter-repo` was already fine
before).
This fixes an issue on Windows, where the git-installation will choose a
different python executable than the one indicated by the installation
via `pip{x,3} install`.
Signed-off-by: Benjamin Motz <[email protected]>1 parent 7ceb213 commit 4ff15cd
2 files changed
+20
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3951 | 3951 | | |
3952 | 3952 | | |
3953 | 3953 | | |
3954 | | - | |
| 3954 | + | |
3955 | 3955 | | |
3956 | 3956 | | |
3957 | 3957 | | |
3958 | 3958 | | |
3959 | 3959 | | |
3960 | 3960 | | |
3961 | 3961 | | |
| 3962 | + | |
| 3963 | + | |
| 3964 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | | - | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments