From: "Magnus Granberg" <zorry@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/tinderbox-cluster:master commit in: /
Date: Tue, 4 Aug 2015 14:30:00 +0000 (UTC) [thread overview]
Message-ID: <1438698554.a3b98d25abca54b394db944e3f3258100ab89e09.zorry@gentoo> (raw)
commit: a3b98d25abca54b394db944e3f3258100ab89e09
Author: Magnus Granberg <zorry <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 4 14:29:14 2015 +0000
Commit: Magnus Granberg <zorry <AT> gentoo <DOT> org>
CommitDate: Tue Aug 4 14:29:14 2015 +0000
URL: https://gitweb.gentoo.org/proj/tinderbox-cluster.git/commit/?id=a3b98d25
update setup.py to support repoman
setup.py | 32 +++++++++++++++-----------------
1 file changed, 15 insertions(+), 17 deletions(-)
diff --git a/setup.py b/setup.py
index e68da85..85f5fbb 100644
--- a/setup.py
+++ b/setup.py
@@ -8,21 +8,19 @@ except ImportError:
use_setuptools()
from setuptools import setup
-version = os.path.split(os.path.abspath(__file__))[-2].split('-')[-1]
-
-packages = ['tbc']
-
-package_dir = {'tbc': 'tbc/pym'}
-
+def find_packages():
+ for dirpath, dirnames, filenames in os.walk('tbc/pym'):
+ if '__init__.py' in filenames:
+ yield os.path.relpath(dirpath, 'tbc/pym')
setup(
- name="tbc",
- version=version,
- author='Zorry',
- author_email='tinderbox-cluster@gentoo.org',
- url='https://anongit.gentoo.org/git/proj/tinderbox-cluster.git',
- description='Tinderbox cluster',
- platforms=["any"],
- license="GPL2",
- packages=packages,
- package_dir=package_dir,
-)
\ No newline at end of file
+ version = os.path.split(os.path.abspath(__file__))[-2].split('-')[-1],
+ packages = list(find_packages()),
+ package_dir = {'': 'tbc/pym'},
+ name="tbc",
+ author='Zorry',
+ author_email='tinderbox-cluster@gentoo.org',
+ url='https://anongit.gentoo.org/git/proj/tinderbox-cluster.git',
+ description='Tinderbox cluster',
+ platforms=["any"],
+ license="GPL2",
+)
next reply other threads:[~2015-08-04 14:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-04 14:30 Magnus Granberg [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-10-28 21:07 [gentoo-commits] proj/tinderbox-cluster:master commit in: / Magnus Granberg
2020-04-09 6:05 Magnus Granberg
2015-04-18 20:27 Magnus Granberg
2015-04-18 20:27 Magnus Granberg
2015-04-18 20:27 Magnus Granberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1438698554.a3b98d25abca54b394db944e3f3258100ab89e09.zorry@gentoo \
--to=zorry@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox