why is the main script called docopt.c.py instead of the initial docopt_c.py?
Closed this issue · 2 comments
ffunenga commented
This is problematic (and very restrictive) because this project is still in the beginning and deciding something like this will restrict the option of, in the future, make a python script have this:
import docopt_c
# or
from docopt_c import docopt_c
which BTW does not work if written like this:
>>> import docopt.c
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named c
We need to think five years ahead of our time, always!
keleshev commented
You are right, this makes impossible to import docopt.c.py. I don't think it would be a common use-case. But having a python script that you can't import makes me uncomfortable.
I'm +1
kblomqvist commented
It was changed to match precisely with the project name. I wasn't aware that it had side effects like this. Good spot.