1 |
commit: df13ccde168945cb9d89b25de0f7214a942ab247 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 29 23:33:27 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 30 00:29:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=df13ccde |
7 |
|
8 |
wip |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
setup.py | 19 ++++--------------- |
13 |
1 file changed, 4 insertions(+), 15 deletions(-) |
14 |
|
15 |
diff --git a/setup.py b/setup.py |
16 |
index d807ea02..02c96dcf 100755 |
17 |
--- a/setup.py |
18 |
+++ b/setup.py |
19 |
@@ -1,18 +1,7 @@ |
20 |
#!/usr/bin/env python |
21 |
|
22 |
-from glob import glob |
23 |
+from ppsetuptools import setup, find_namespace_packages |
24 |
|
25 |
-from ppsetuptools import setup |
26 |
- |
27 |
-data_files = [ |
28 |
- ('/etc/catalyst', ['etc/catalyst.conf', 'etc/catalystrc']), |
29 |
- ('/usr/share/man/man1', ['files/catalyst.1']), |
30 |
- ('/usr/share/man/man5', |
31 |
- ['files/catalyst-config.5', 'files/catalyst-spec.5'] |
32 |
- ), |
33 |
- ('share/catalyst/arch', glob('arch/*')), |
34 |
- ('share/catalyst/livecd', glob('livecd/**/*', recursive=True)), |
35 |
- ('share/catalyst/targets', glob('targets/**', recursive=True)), |
36 |
-] |
37 |
- |
38 |
-setup(data_files=data_files) |
39 |
+setup( |
40 |
+ packages=find_namespace_packages('catalyst'), |
41 |
+) |