public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoopm:master commit in: /
Date: Sun, 28 Oct 2012 10:33:15 +0000 (UTC)	[thread overview]
Message-ID: <1351420432.f46c4057d76000ae020a57a4d5f19a9c4a93c113.mgorny@gentoo> (raw)

commit:     f46c4057d76000ae020a57a4d5f19a9c4a93c113
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 28 10:33:52 2012 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Oct 28 10:33:52 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gentoopm.git;a=commit;h=f46c4057

setup.py test: respect build_lib.

---
 setup.py |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 0f34a13..ddb119d 100755
--- a/setup.py
+++ b/setup.py
@@ -33,12 +33,16 @@ class TestCommand(Command):
 	user_options = []
 
 	def initialize_options(self):
-		pass
+		self.build_base = None
+		self.build_lib = None
 
 	def finalize_options(self):
-		pass
+		self.set_undefined_options('build',
+			('build_lib', 'build_lib'))
 
 	def run(self):
+		sys.path.insert(0, self.build_lib)
+
 		import unittest
 		import gentoopm.submodules, gentoopm.tests
 


             reply	other threads:[~2012-10-28 10:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-28 10:33 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-08-05 21:32 [gentoo-commits] proj/gentoopm:master commit in: / Michał Górny
2013-02-16 16:16 Michał Górny
2012-10-28 15:24 Michał Górny
2011-09-09 21:13 Michał Górny
2011-08-13 10:58 Michał Górny
2011-08-13 10:58 Michał Górny
2011-08-13 10:57 [gentoo-commits] proj/gentoopm:gentoopm-0.2 " Michał Górny
2011-08-13 10:58 ` [gentoo-commits] proj/gentoopm:master " Michał Górny
2011-08-13 10:31 Michał Górny
2011-07-22 13:16 Michał Górny
2011-07-14 14:36 Michał Górny
2011-07-13 16:26 Michał Górny
2011-07-11  9:40 Michał Górny
2011-07-10 12:34 Michał Górny
2011-07-07 19:55 Michał Górny
2011-07-06 22:04 Michał Górny

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=1351420432.f46c4057d76000ae020a57a4d5f19a9c4a93c113.mgorny@gentoo \
    --to=mgorny@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