1 |
commit: a68f4f6b3f6a2a4952aca4bd35716c388b583bb1 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 30 00:31:10 2020 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 30 00:49:57 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a68f4f6b |
7 |
|
8 |
wip |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
setup.py | 21 ++++++--------------- |
13 |
1 file changed, 6 insertions(+), 15 deletions(-) |
14 |
|
15 |
diff --git a/setup.py b/setup.py |
16 |
index d807ea02..ec79b65d 100755 |
17 |
--- a/setup.py |
18 |
+++ b/setup.py |
19 |
@@ -1,18 +1,9 @@ |
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=[ |
41 |
+ 'catalyst', 'catalyst/base', 'catalyst/targets' |
42 |
+ ], |
43 |
+) |