-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
1 addition
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04aae4a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and ponythink, need rename too or not???
04aae4a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have a ponythink file, that link is created by the build system.
This rename is because we renamed the source file
ponysay
toponysay.py
,the installed filenames have not been modified.
04aae4a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I read about the emacs and the python that you talk with svenstaro and I think that (probably erroneous) that the ponythink simlink need the .py for the same reason as now ponysay have them, you say ponythink point to ponysay
04aae4a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
source files:
ponysay.py
installed files:
ponysay
,ponythink
→ponysay
At the line
filein = open('ponysay.py', 'rb')
The builder reads the source file
ponysay.py
, and creates the fileponysay.install
(the line above).Then the installer copies the file
ponysay.install
toponysay
and creates the symlinkponythink
.The installed files are named without .py, because otherwise you would have to run the command
ponysay.py
instead ofponysay
, andponythink.py
instead ofponythink
.But the source file (
ponysay.py
) needpython3
instead ofpython
in its shebang, and for Emacs(and probably editors too)
.py
is then needed for highlighting.There is no ponythink in the source, where the only
ponysay.py
is located, so there should notbe any ponythink.py file.