Skip to content

Commit

Permalink
src_path is path to directory containing setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
roryyorke committed Jun 19, 2019
1 parent 11061c1 commit 96e1876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def run(self):


def setup_package():
src_path = os.path.dirname(os.path.abspath(sys.argv[0]))
src_path = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, src_path)

# Rewrite the version file everytime
Expand Down

0 comments on commit 96e1876

Please sign in to comment.