mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 09:30:30 -04:00
11 lines
447 B
Python
11 lines
447 B
Python
--- setup.py.orig 2018-02-25 10:20:32 UTC
|
|
+++ setup.py
|
|
@@ -35,7 +35,7 @@ class GenerateInstructions(Command):
|
|
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[""])
|