Skip to content

Commit

Permalink
Merge pull request #6 from Intermodalics/fix/install_cmake_files
Browse files Browse the repository at this point in the history
Fix installation of new cmake files
  • Loading branch information
meyerj authored Sep 24, 2020
2 parents 35ccb2c + 0715dca commit f82f367
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ before_install:
- pip install setuptools argparse catkin-pkg PyYAML psutil osrf_pycommon pyenchant sphinxcontrib-spelling
install:
# Install catkin_tools
- python setup.py develop
- python setup.py install
before_script:
# Install catkin_tools test harness dependencies
- ./.travis.before_script.bash
Expand Down
5 changes: 4 additions & 1 deletion catkin_tools/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
_cmd_split(u'\u00E9')

def cmd_split(s):
return _cmd_split(s.decode('utf-8'))
if sys.version_info.major == 3:
return _cmd_split(str(s, 'utf-8'))
else:
return _cmd_split(s.decode('utf-8'))
except UnicodeEncodeError:
cmd_split = _cmd_split

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ def run(self):
packages=find_packages(exclude=['tests*', 'docs']),
package_data={
'catkin_tools': [
'jobs/cmake/python.cmake',
'jobs/cmake/python_install_dir.cmake',
'notifications/resources/linux/catkin_icon.png',
'notifications/resources/linux/catkin_icon_red.png',
'verbs/catkin_shell_verbs.bash',
Expand Down

0 comments on commit f82f367

Please sign in to comment.