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

MacOS fix: python not found (deprecated in favour of python3) #34

Merged
merged 1 commit into from Sep 11, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions hooks/post_gen_project.py
@@ -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
@@ -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
@@ -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 }}"