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

Add new icon and scripts for python3 in Linux #1716

Closed
spyder-bot opened this issue Feb 17, 2015 · 6 comments
Closed

Add new icon and scripts for python3 in Linux #1716

spyder-bot opened this issue Feb 17, 2015 · 6 comments

Comments

@spyder-bot
Copy link
Collaborator

From pi...@synchrotron-soleil.fr on 2014-02-02T03:07:57Z

Hello,

while I am preparing the package with python3, I need to install spyder3 script and icons for the python3 version.

So I created a patch to deal with this only on linux (I do not have a windows machine).
this pacth install spyder3, spyder3.desktop and a spyder3.png (which is for now a copy of the spyder.png) I am really bad for icon so I do not changed :).

could you apply it or implement a equivalent pacth, so I can support spyder and spyder3.

thanks

Frederic

Attachment: 0002-forwarded-upstream-deal-with-python3-file-installati.patch

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1716

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-02-07T05:25:46Z

Thanks Frederic. I'll apply as soon as I can. What about issue #1684 , can I close it?

Status: Accepted
Labels: Component-Python3 Cat-Miscelleneous

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-02-12T08:52:14Z

On thing I found strange with your patch: The "spyder" and "spyder3" executable scripts are exactly the same, but shouldn't the last one be something like

#! /usr/bin/python3
from spyderlib import start_app
start_app.main()

Labels: MS-v2.3

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-02-12T11:54:17Z

Ok, I decided to go according to my last comment because several python3 packages in Ubuntu (e.g. IPython and apport-cli) use the shebang

#! /usr/bin/python3

Summary: Add new icon and scripts for python3 in Linux (was: [patch] icon and scripts for python3)
Labels: OpSys-Linux

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-02-12T12:07:00Z

This issue was updated by revision c7c0f86547be .

Thanks to piccasynchrotron-soleil.fr for the patch

Status: Fixed

@spyder-bot
Copy link
Collaborator Author

From pi...@synchrotron-soleil.fr on 2014-02-16T02:38:22Z

In fact I just did a copy of the file to have two different files for the spyder and spyder3

the shebang line is updated during the build process and indeed I did a mistake and did not set the right one by default.
thanks

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2014-02-16T04:55:12Z

Ok, glad to hear my fix was the right one :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant