Skip to content

Commit

Permalink
Merge pull request #34 from madskjeldgaard/fix-python3-bug
Browse files Browse the repository at this point in the history
MacOS fix: python not found (deprecated in favour of python3)
  • Loading branch information
madskjeldgaard committed Sep 11, 2023
2 parents 5af94b5 + 77ceb75 commit 02e6cb6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''Init git repository and make initial commit.'''

Expand All @@ -16,7 +16,7 @@
check_call(['git', 'init'])
print('\nRunning CMake generation script')
call([
'python',
'python3',
script_path,
'.',
'-P', '{{ cookiecutter.project_name }}',
Expand Down
2 changes: 1 addition & 1 deletion hooks/pre_gen_project.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
'''Validate template arguments.'''

Expand Down
2 changes: 1 addition & 1 deletion {{ cookiecutter.repo_name }}/regenerate
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python {{ cookiecutter.full_path_to_supercollider_source }}/tools/cmake_gen/generate_server_plugin_cmake.py -P "{{ cookiecutter.project_name }}" -p "plugins/{{ cookiecutter.plugin_name }}" -a "{{ cookiecutter.full_name }}"
python3 {{ cookiecutter.full_path_to_supercollider_source }}/tools/cmake_gen/generate_server_plugin_cmake.py -P "{{ cookiecutter.project_name }}" -p "plugins/{{ cookiecutter.plugin_name }}" -a "{{ cookiecutter.full_name }}"

0 comments on commit 02e6cb6

Please sign in to comment.