Commit b4c39b6
committed
Fix build and installation issues on Gentoo
Make minigalaxy successfully install by running either `pip install .`
or by running setup.py directly.
Make sure all test packages are excluded from the installation process [1].
Use the regular build backend instead of the fallback [2]. Make the
regular backend work by appending the current directory to Python PATH.
This way we can pass the package version to setuptools [3].
[1]: https://projects.gentoo.org/python/guide/qawarn.html#example-for-test-packages-installed-by-setuptools
[2]: https://projects.gentoo.org/python/guide/qawarn.html#setuptools-build-meta-legacy
[3]: pypa/setuptools#3939 (comment)1 parent 20d0cb2 commit b4c39b6
2 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | | - | |
| 21 | + | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
| |||
0 commit comments