mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
12 lines
457 B
Diff
12 lines
457 B
Diff
--- a/setup.py 2022-05-15 19:33:42.938456878 +0200
|
|
+++ b/setup.py 2022-05-15 19:33:57.869231488 +0200
|
|
@@ -35,7 +35,7 @@
|
|
def run(self):
|
|
# package_dir may be None, in that case use the current directory.
|
|
import os
|
|
- if self.distribution.package_dir is None:
|
|
+ if not self.distribution.package_dir:
|
|
src_dir = os.getcwd()
|
|
else:
|
|
src_dir = os.path.abspath(self.distribution.package_dir[""])
|