1 |
commit: 1b9f81017f6653480f1e514d1d1c24ba3fa24fdd |
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:30:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=1b9f8101 |
7 |
|
8 |
wip |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
catalyst/base/__init__.py | 0 |
13 |
catalyst/targets/__init__.py | 0 |
14 |
setup.py | 19 ++++--------------- |
15 |
3 files changed, 4 insertions(+), 15 deletions(-) |
16 |
|
17 |
diff --git a/catalyst/base/__init__.py b/catalyst/base/__init__.py |
18 |
deleted file mode 100644 |
19 |
index e69de29b..00000000 |
20 |
|
21 |
diff --git a/catalyst/targets/__init__.py b/catalyst/targets/__init__.py |
22 |
deleted file mode 100644 |
23 |
index e69de29b..00000000 |
24 |
|
25 |
diff --git a/setup.py b/setup.py |
26 |
index d807ea02..02c96dcf 100755 |
27 |
--- a/setup.py |
28 |
+++ b/setup.py |
29 |
@@ -1,18 +1,7 @@ |
30 |
#!/usr/bin/env python |
31 |
|
32 |
-from glob import glob |
33 |
+from ppsetuptools import setup, find_namespace_packages |
34 |
|
35 |
-from ppsetuptools import setup |
36 |
- |
37 |
-data_files = [ |
38 |
- ('/etc/catalyst', ['etc/catalyst.conf', 'etc/catalystrc']), |
39 |
- ('/usr/share/man/man1', ['files/catalyst.1']), |
40 |
- ('/usr/share/man/man5', |
41 |
- ['files/catalyst-config.5', 'files/catalyst-spec.5'] |
42 |
- ), |
43 |
- ('share/catalyst/arch', glob('arch/*')), |
44 |
- ('share/catalyst/livecd', glob('livecd/**/*', recursive=True)), |
45 |
- ('share/catalyst/targets', glob('targets/**', recursive=True)), |
46 |
-] |
47 |
- |
48 |
-setup(data_files=data_files) |
49 |
+setup( |
50 |
+ packages=find_namespace_packages('catalyst'), |
51 |
+) |