Skip to content

Commit

Permalink
fix install prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
xofer committed Dec 29, 2014
1 parent b6f67a9 commit 2f04747
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ def run(self):
bashrc_path = expanded
break

prefix = os.path.join(sys.prefix, 'hop')
### https://github.com/Cue/hop/pull/5
self.set_undefined_options('install',
('install_data', 'install_dir'))
prefix = os.path.join(self.install_dir, 'hop')
###

required_commands = {
'/hop.bash':"# Initialize the 'hop' script\n source %s" % os.path.join(prefix, 'hop.bash'),
'hop-lua-script':'# Define an entry point for the lua script version of hop\n'
Expand Down

0 comments on commit 2f04747

Please sign in to comment.