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
My surname contains an apostrophe. The setup.py template uses this without escaping:
author='{{cookiecutter.full_name}}',
This leads to a SytaxError when I try to make use of setup.py:
python setup.py develop File "setup.py", line 36 author='Dan O'Huiginn', ^ SyntaxError: invalid syntax
It looks like the same is true of all the other data included in setup.py
I looked around at how other cookiecutters handle this. Most don't, but the least-bad was: cookiecutter-pypackage:
author="{{ cookiecutter.full_name.replace('"', '\"') }}",
The text was updated successfully, but these errors were encountered:
That makes sense to me, would you like to issue a pull request?
Sorry, something went wrong.
No branches or pull requests
My surname contains an apostrophe.
The setup.py template uses this without escaping:
This leads to a SytaxError when I try to make use of setup.py:
It looks like the same is true of all the other data included in setup.py
I looked around at how other cookiecutters handle this. Most don't, but the least-bad was:
cookiecutter-pypackage:
The text was updated successfully, but these errors were encountered: