Commit 0a1997e
committed
Apply setup.py's modernisation to (unused) linker_tests/link_pre_489
Remove pkg_resources, which is deprecated and slated for removal soon:
_get_egg_name() has been unused since 2017 anyway.
Take Extension from setuptools instead of distutils.
Use sysconfig.get_config_var[s]() instead of distutils's wrappers.
Override LDSHARED properly in cy_build_ext.run() instead of attempting
to alter sysconfig's own config_vars.
This linker_tests/link_pre_489/* test is unused anyway, and is present
in the codebase for reference only. All of linker_tests/* deserves an
overhaul; see also PR #489 and #503.1 parent 0e05d94 commit 0a1997e
1 file changed
Lines changed: 9 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 11 | + | |
19 | 12 | | |
20 | 13 | | |
21 | 14 | | |
| |||
45 | 38 | | |
46 | 39 | | |
47 | 40 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
53 | 47 | | |
54 | 48 | | |
55 | 49 | | |
| |||
65 | 59 | | |
66 | 60 | | |
67 | 61 | | |
68 | | - | |
| 62 | + | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
0 commit comments