Skip to content

Commit

Permalink
Merge pull request h5py#1396 from aragilar/ensure-setup
Browse files Browse the repository at this point in the history
ENH: Ensure that sys.path has the current directory
  • Loading branch information
takluyver authored Oct 13, 2019
2 parents ebdf23a + c27bc7b commit 783b7d3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
import os
import os.path as op

# Newer packaging standards may recommend removing the current dir from the
# path, add it back if needed.
if '' not in sys.path:
sys.path.insert(0, '')

import setup_build, setup_configure


Expand Down

0 comments on commit 783b7d3

Please sign in to comment.