Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix installation of new cmake files #6

Merged
merged 5 commits into from
Sep 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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