Commits

Michał Górny  committed f46c405

setup.py test: respect build_lib.

  • Participants
  • Parent commits 3eae6b2

Comments (0)

Files changed (1)

 	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