summaryrefslogtreecommitdiff
path: root/dev-python/PeachPy/files/PeachPy-2021.10.13-gentoo.patch
blob: c5ecab041a7682f4a99ff1ffa3a4542bb5d50135 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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[""])