Skip to content

Commit

Permalink
Setup tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
mhardcastle committed May 10, 2018
1 parent 629bcc9 commit 44d6a6b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ def run(self):
install.run(self)
# Execute commands
import os
print "Running post-install"
codepath=os.path.join(self.install_libbase,'radioflux')
ds9path=os.path.join(self.install_data,'ds9','radio-flux.ds9')
print 'Path to .ds9 file is',ds9path
print('Path to .ds9 file is',ds9path)
os.system('sed -i -e s!REPLACE!'+codepath+'! '+ds9path)
os.system('chmod +x '+codepath+'/*.py')

Expand Down

0 comments on commit 44d6a6b

Please sign in to comment.