We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
System Information
main/3.0.7
3.10
Steps to Reproduce (Bugs Only)
pwd
Produces:
Extracting cement-3.0.7-py3.10.egg to /usr/local/lib/python3.10/site-packages File "/usr/local/lib/python3.10/site-packages/cement-3.0.7-py3.10.egg/cement/cli/templates/generate/extension/ext_{{ label }}.py", line 6 def {{ label }}_pre_run_hook(app): ^ SyntaxError: invalid syntax File "/usr/local/lib/python3.10/site-packages/cement-3.0.7-py3.10.egg/cement/cli/templates/generate/plugin/{{ label }}/__init__.py", line 3 from .controllers.{{ label }} import {{ class_name }} ^ SyntaxError: invalid syntax File "/usr/local/lib/python3.10/site-packages/cement-3.0.7-py3.10.egg/cement/cli/templates/generate/plugin/{{ label }}/controllers/{{ label }}.py", line 5 class {{ class_name }}(Controller): ^ SyntaxError: invalid syntax File "/usr/local/lib/python3.10/site-packages/cement-3.0.7-py3.10.egg/cement/cli/templates/generate/project/setup.py", line 3 from {{ label }}.core.version import get_version ^ SyntaxError: invalid syntax File "/usr/local/lib/python3.10/site-packages/cement-3.0.7-py3.10.egg/cement/cli/templates/generate/project/tests/test_{{ label }}.py", line 3 from {{ label }}.main import {{ class_name }}Test ^ SyntaxError: invalid syntax File "/usr/local/lib/python3.10/site-packages/cement-3.0.7-py3.10.egg/cement/cli/templates/generate/project/{{ label }}/main.py", line 4 from .core.exc import {{ class_name }}Error ^ SyntaxError: invalid syntax File "/usr/local/lib/python3.10/site-packages/cement-3.0.7-py3.10.egg/cement/cli/templates/generate/project/{{ label }}/core/exc.py", line 2 class {{ class_name }}Error(Exception): ^ SyntaxError: invalid syntax
I believe this is setuptools attempting to byte-compile all *.py files... which obviously triggers syntax errors for files in cement/cli/templates/*.
*.py
cement/cli/templates/*
The text was updated successfully, but these errors were encountered:
Might be something to try here (defining templates as package data might make setuptools skip them during byte compiling?):
Sorry, something went wrong.
No branches or pull requests
System Information
main/3.0.7
3.10
Steps to Reproduce (Bugs Only)
pwd
:/src python:3.10Produces:
I believe this is setuptools attempting to byte-compile all
*.py
files... which obviously triggers syntax errors for files incement/cli/templates/*
.The text was updated successfully, but these errors were encountered: