Skip to content

Commit

Permalink
Handle the case of no with_pc_path
Browse files Browse the repository at this point in the history
  • Loading branch information
gbiggs committed Jan 26, 2015
1 parent 3e780bc commit 51bd9e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,9 @@ def __init__(self, dist):
def finalize_options(self):
build_py.finalize_options(self)
# Split the paths by colon and check individually
for p in self.with_pc_path.split(split_char()):
check_path_is_dir(p)
if self.with_pc_path:
for p in self.with_pc_path.split(split_char()):
check_path_is_dir(p)

def run(self):
build_py.run(self)
Expand Down

0 comments on commit 51bd9e7

Please sign in to comment.