From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3260D138359 for ; Fri, 30 Oct 2020 00:47:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70E48E095C; Fri, 30 Oct 2020 00:47:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5575AE095C for ; Fri, 30 Oct 2020 00:47:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7255133BF3C for ; Fri, 30 Oct 2020 00:47:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E52B296 for ; Fri, 30 Oct 2020 00:47:15 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1604018829.b174416de9af5d385dbf31f1c3457153d9e249af.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:wip/mattst88 commit in: / X-VCS-Repository: proj/catalyst X-VCS-Files: setup.py X-VCS-Directories: / X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: b174416de9af5d385dbf31f1c3457153d9e249af X-VCS-Branch: wip/mattst88 Date: Fri, 30 Oct 2020 00:47:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 969daff1-a61c-4b8e-ac74-c14237a7e2a9 X-Archives-Hash: 770c9e5aef8317dcbea8a142b80d25fb commit: b174416de9af5d385dbf31f1c3457153d9e249af Author: Matt Turner gentoo org> AuthorDate: Fri Oct 30 00:31:10 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Fri Oct 30 00:47:09 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=b174416d wip Signed-off-by: Matt Turner gentoo.org> setup.py | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/setup.py b/setup.py index d807ea02..98af439a 100755 --- a/setup.py +++ b/setup.py @@ -1,18 +1,8 @@ #!/usr/bin/env python -from glob import glob +from ppsetuptools import setup, find_namespace_packages -from ppsetuptools import setup - -data_files = [ - ('/etc/catalyst', ['etc/catalyst.conf', 'etc/catalystrc']), - ('/usr/share/man/man1', ['files/catalyst.1']), - ('/usr/share/man/man5', - ['files/catalyst-config.5', 'files/catalyst-spec.5'] - ), - ('share/catalyst/arch', glob('arch/*')), - ('share/catalyst/livecd', glob('livecd/**/*', recursive=True)), - ('share/catalyst/targets', glob('targets/**', recursive=True)), -] - -setup(data_files=data_files) +setup( + package_dir='catalyst', + packages=find_namespace_packages(), +)