These are chat archives for spyder-ide/public

26th
Feb 2015
Enrico Giampieri
@EnricoGiampieri
Feb 26 2015 00:13
@blink1073 I'm actually confused...after I went to read the code, I can't reproduce the bug anymore...I found a quantistic bug, clearly XD so don't worry about the regex, probably it was just some configuration that went postal...
Steven Silvester
@blink1073
Feb 26 2015 00:26
Must be a Heisenburg Uncertainty problem. :smile:
Suraj Patil
@thewhitetulip
Feb 26 2015 04:09
Hi everyone, I am new here, I came across spyder some time ago when it was hosted on code.google.com, the project is awesome, but it is strictly for scientific computing? I mean I get that the name itself says so. Could it be improved so as to compete with normal IDEs like Eclipse?
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 07:20
@cjrh the window bug its mine, I think I know how to get that fixed!, the interactive tutorial was very experimental (as in I was learning qt doing that!)
Hi @thewhitetulip, thanks for the interest, as to compete directly with Eclipse, probably not, as to enhance Spyder so you do not need to go to Eclipse to accomplish certain tasks under the same IDE, I think that is doable :)
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 08:16
@thewhitetulip I'd say that spyder is oriented towards scientific computing, not reserved to scientific computing. I personnaly use it for all my python development, which include scientific tasks but also ui, documentation, some web here and here...
The main advantage over eclipse is that it focuses on python (almost) exclusively, so it it a lot simpler and every feature is deeply intergrated with python.
Caleb Hattingh
@cjrh
Feb 26 2015 10:22
@thewhitetulip I tell everyone who is starting with Python, including my children, to use Spyder as the editor. I just tell them to ignore the references to "science" ;)
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 10:55
haha
Caleb Hattingh
@cjrh
Feb 26 2015 12:25
@goanpeca 👍
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 12:25
yes? :) ?
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 13:26
@cjrh can you take a look at spyder-ide/spyder#2204
Enrico Giampieri
@EnricoGiampieri
Feb 26 2015 16:09
I'm here installing spyder with a colleague under macosx...it is a damn pain due to qt issues, but we managed. She was asking me how hard would it be to include a package manager for the most common libraries
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:09
There is a package manager, if you install using Anaconda
but it is only available in the dev version (planned for 2.4)
Enrico Giampieri
@EnricoGiampieri
Feb 26 2015 16:10
why not something standalone in the program independently from the packaging?
or as an alternative if an external one is not present?
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:11
Because it has not been coded yet ;)
a package manager using pip would be useful, yes
Enrico Giampieri
@EnricoGiampieri
Feb 26 2015 16:11
if you can help me getting started with the window management in spyder I would be glad to try
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:11
a package manager that uses pip is on the drawing board... but it would be limited to python libraries only...
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:12
The problem is that there is many ways to install a python package.
Enrico Giampieri
@EnricoGiampieri
Feb 26 2015 16:12
I think that even just providing an interface to pip as a single user would be enough
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:13
some package now use precompiled wheels packages, it would not be limited to pure python packages
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:13
yes....
but that is not the standard... (yet)
@EnricoGiampieri ... take a look at why I promote conda
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:14
You can write external plugins, look at https://github.com/spyder-ide/spyder/tree/master/spyderplugins
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:14
and read the comments in the blog post
you can look at the work done for the conda manager.. and maybe use some of that as inspiration....
Enrico Giampieri
@EnricoGiampieri
Feb 26 2015 16:16
ok, I will try to get something out of that part of the code and we'll see what comes out of it :)
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:17
Great ... but I recommend the read.. packaging is not a new issue... it has been here for decades... and in the Python ecosystem there is an history to it...
is good to know the history ;)
if you need pointers give me ping
Enrico Giampieri
@EnricoGiampieri
Feb 26 2015 16:18
I'm aware of the troubled history, but my impression is that the python team is pushing toward pip, so much that is automatically shipped in the lastest versions of python
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:19
and... ?
pip will not do if you need to install something that works with external (non python) libraries
Because Spyder is meant (at least in the name) for Scientific development.... usually scientific packages are tied to nonpython libraries with extra installation and linking procedures needed.
In Linux and Mac (I guess) you have package managers that can do that most of the time without issue (but you need to feel comfortable with the command prompt)
In windows... is hmm hell to put it mildly
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:21
Why is that ? Pip can compile extensions too. It is just harder on some platforms I won't cite here ;)
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:21
Exactly...
it is harder...
so for the end user...
it will seem as it will not work basically
and now that we talk about this is funyy
Fernando from Ipython posted this recently....
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:23
the interface would be there the help use pip, not replace it. When it works from the command line, it's nice to have a gui instead.
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:27
When using anaconda I also use pip to install packages (path.py, python_qt_bindings, sh, autopep8, jedi, pyproj, line_profiler, odfpy...)
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:27
True!
:)
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:27
I'd love to use a gui for this !
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:27
Me too
but at that time we decided it was better to stop where it was :p
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:27
for the conda manager, yes
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:28
would not it be weird to have two package managers when using anaconda?
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:28
I wouldn't mind havig 2 separate plugins dor conda and pip
^^
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:28
;)
fair enough :p
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:28
at some point the user has to know what he's doing
we can help, of course
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:29
lets see how it evolves :)
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:29
like with a big fat warning and good error report on failure
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:31
and some links to several blog post on the issue for the past 20 years...
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:31
Exactly !
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:32
:clap:
Joseph Martinot-Lagarde
@Nodd
Feb 26 2015 16:32
With extra points for flame wars
Gonzalo Peña-Castellanos
@goanpeca
Feb 26 2015 16:32
hahaha