Re: Installation and Novices

2014-12-24 Thread Davy Cottet
I think that archinux, slawkware and BSD are both systems that mostly targeting advanced unix users, so who would know how to install a simple python apps and dependencies. Maybe I'm wrong... >From all experiences people have shared concerning last *.deb* builds, it seems that it's working with

Re: Installation and Novices

2014-12-24 Thread Davy Cottet
Apparently py2exe could include every py-related staff but not Qt... Maybe we could think about including Qt installer with nsis : http://nsis.sourceforge.net/Embedding_other_installers -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubs

Re: Installation and Novices

2014-12-24 Thread Davy Cottet
I think this discussion is mostly about windows installer, since both linux and Mac provides packaging systems able to automatically install required dependencies. Does someone already had a look at py2exe as a way to include qt/pyqt into the installer ? -- You received this message because yo

Re: New distribution process for testing

2014-12-23 Thread Davy Cottet
I just pushed new dist2 folder. I'll try to start working again on it soon. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com

Re: Leo 5.0.1 coming in January

2014-12-23 Thread Davy Cottet
Great, I'll be glad to work on Debian/Ubuntu/Fink packaging :) -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to

Re: New distribution process for testing

2014-12-23 Thread Davy Cottet
It still on the experimental branch. I have another version locally that is not ready yet, I've been working on another staff recently... I'm gonna see if there is not too much french into it so I could push it as well. The best way way to see what's about this experimental branch is by explorin

Re: Macros in Leo 5

2014-12-17 Thread Davy Cottet
Your need looks similar to mine.I think as well that would be very useful to implement. https://github.com/leo-editor/leo-editor/issues/109 As a workaround, what if you put a " \ " when define your $1 ? Is that possible to obtain : for f in xxx \ ; do -- You received this message becau

Re: Add icon to Qdialogs

2014-12-16 Thread Davy Cottet
Finally I think I find out the origin of this icon problem ! I was trying to play with evens of qFileDialog... and that was not working too. I found this thread where it is advised not usin

Re: Add icon to Qdialogs

2014-12-16 Thread Davy Cottet
Here a simple example of what I'm talking about : from leo.core.leoQt import QtWidgets b = QtWidgets.QMessageBox def independantBox(): """This box is independant from Leo You can keep working without closing it It have its own tab on your desktop app panel""" # For no new app t

Re: Add icon to Qdialogs

2014-12-15 Thread Davy Cottet
Here is a simple example to understand better what I'm talking about : from leo.core.leoQt import QtWidgets b = QtWidgets.QMessageBox def independantBox(): """This box is independant from Leo You can keep working without closing it It have its own tab on your desktop app panel"""

Re: Add icon to Qdialogs

2014-12-15 Thread Davy Cottet
I didn't take time to try on other system, but think I found a potential workaround for these not Leo's default x icons. I didn't really understand why QInputDialog and QfileDialogs have different behaviours regarding to setWindowIcon... I've read that since it has no parent, a Qwidget should b

Re: Add icon to Qdialogs

2014-12-15 Thread Davy Cottet
Interesting... so that behavior is desktop dependent... Is your version before or after rev e4b24d9526b60c3f04cedef9df673f263d70a7fd ? I'm actually running under xfce. I've another machine with Debian & K

Importing leoQt subsubmodules ?

2014-12-15 Thread Davy Cottet
Hi, I've no problem importing leoQt submodules but no way to import subsubmodules : For example : from leo.core.leoQt import QtCore -> OK object = QtCore.QObject -> OK from leo.core.leoQt.QtCore import QObject -> ImportError: No module named QtCore Since I'm importing existing code into Leo, I w

Re: In Florida until January 6

2014-12-15 Thread Davy Cottet
Personally, I'll be totally out of the cyber world from dec 23 to jan 08. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com.

Re: Add icon to Qdialogs

2014-12-15 Thread Davy Cottet
Here is a screen shot of Leo main tab and "Save as.." dialog for you to see what I'm talking about : -- You received this message because you are subscribed to the Google Groups "leo-editor

Re: Add icon to Qdialogs

2014-12-15 Thread Davy Cottet
> > Various dialogs work differently and return different values. Look at the > code: these g.app.gui methods​ > ​call different Qt dialog methods, as would be expected. > Yes, precisely the ones in question are QInputDialog and QFileDialog. From what I've experimented, the others dialogs doe

Re: MySettings not working

2014-12-14 Thread Davy Cottet
Hi, A very simple suggestion to verify that myLeoSettings.leo @settings are well loaded : - What if you just add an empty @settings/@data qt-gui-plugin-style-sheet and restart Leo ? Note : be sure that there is no other @data qt-gui-plugin-style-sheet under @settings subtree (use Find panel)

Re: Add icon to Qdialogs

2014-12-14 Thread Davy Cottet
Finally, I abandonned the idea of custom icons, since I though it was better for users to know that new dialogs are from Leo. So I just modified a bit leo/plugins/leo_qt.py to attach Leo's app icons to dialogs without one. I just realize that it only work for g.app.gui.runAskOkCancelStringDialo

Add icon to Qdialogs

2014-12-14 Thread Davy Cottet
Hi, I would like to add the ability to set icon for g.app.gui.run... Qdialogs. Actually, some of them have no icon set so an ugly system fallback icon is shown... I thought it would be nice to set default Qdialog icon to leo's app one and even the ability to set a custom one. That would mean to

Re: How did I get dark theme again?

2014-12-13 Thread Davy Cottet
By the way, what is the problem with windows ? Doesn't Qt automatically adapt its theme like in Linux GTK or KDE desktop ? In fact in linux, everythings looks well integrated since you disable leo's default theme config by adding an empty @data qt-gui-plugin-style-sheetin your @settings. Isn't i

Re: How did I get dark theme again?

2014-12-13 Thread Davy Cottet
- To get the leo-dark-0, which is more a solarized dark theme, just copy the node "leo_dark theme 0" from file leo/config/themes.leo to your @settings. Be sure that you have no other @data qt-gui-plugin-style-sheet node in @settings. To get a darker theme see here : https://groups.google.com/

Re: Need help for a Zim importer

2014-12-12 Thread Davy Cottet
I don't knox, I've never be part of a git team or any organisation. I think you have to send me an invitation : https://help.github.com/articles/adding-or-inviting-members-to-a-team-in-an-organization/ -- You received this message because you are subscribed to the Google Groups "leo-editor" grou

Re: Need help for a Zim importer

2014-12-12 Thread Davy Cottet
That's perfect :) I think I need a special authorization to be able to push on mainline repo, doesn't I ? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-edi

Re: Need help for a Zim importer

2014-12-12 Thread Davy Cottet
It work great tanks ! I hope I've learn from your implementation for my next contributions :) I pushed my final cleaning function on github. I've been carefull on controls (verifications that deleted nodes are empty...) and test it several times in my personal Zim wiki. I've to say that leo is

Re: pip install LeoDarkTheme !

2014-12-11 Thread Davy Cottet
Yes, that's a bit weird to write g.es('test',color='black') to print it in white :) Maybe std,warn & err in place of black, blue & red would be less disturbing... if I understand well, log-fg and log-bg are handled by Qt stylesheet (and so by external themes) but not log-text-foreground-color.

Re: pip install LeoDarkTheme !

2014-12-11 Thread Davy Cottet
The only thing I can do now... is sharing another screen-shot to encourage you :) -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubs

Re: pip install LeoDarkTheme !

2014-12-11 Thread Davy Cottet
That's the problem : both *log-fg *and* log-bg *have no effect at all. I took me some time to find those *log_text_foreground_color* (and log_error_color & log_warning_color) that *does* change the log font color *.* So shouldn't that be the correct behavior ? -- You received this message bec

Re: pip install LeoDarkTheme !

2014-12-11 Thread Davy Cottet
Again, the only problem is the color of log text (log_text_foreground_color) which is always black... Would it be possible to set it to a qt style sheet value by default, for example same one as outline text color ? While it's not a Qt value but a Leo's specific one, you'll have to set manuall

Re: Leo Dark on Linux

2014-12-11 Thread Davy Cottet
I've posted a Qt base crossplatform solution, here : https://groups.google.com/forum/#!topic/leo-editor/j9oibfegjE8 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: pip install LeoDarkTheme !

2014-12-11 Thread Davy Cottet
Here is a screenshot : -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, s

pip install LeoDarkTheme !

2014-12-11 Thread Davy Cottet
That a pretty elegant and pythonic way to get a dark theme for leo (sudo )pip install qdarkstyle Then in the body of a node and copy the following, then type CTR+B and you get it :) import qdarkstyle from leo.core.leoQt import isQt5 if isQt5: sheet = qdarkstyle.load_stylesheet_pyqt5() else:

Re: Leo Dark on Linux

2014-12-11 Thread Davy Cottet
I think installing gtk themes for qt use is a bit complicated is your system is not GTK based. Qt style sheets may be a better way to customize Leo without changing all your desktop theme. i just did a quick search and find this that looks promizing : https://github.com/ColinDuquesnoy/QDarkStyle

Re: Leo Dark on Linux

2014-12-11 Thread Davy Cottet
I really don't know how it works on mac... >From a quick google search, it seems possible to install gtk based themes on mac... then one has to see if Qt-settings is able to detect and use it... All the magic comes from Qgtkstyle which use gtk th

Leo Dark on Linux

2014-12-11 Thread Davy Cottet
Hi, I've played a bit with my theme since I wanted a dark one in order to save my eyes. I'm glad to show you my nice Leo : It's pretty straightforward to get it : - install this nice

Re: Need help for a Zim importer

2014-12-10 Thread Davy Cottet
Ok, I think I see your point. Tomorrow I'll verify more carefully that no node are lost in the process since I do delete some nodes without replacing. I'll let your know for you to include the cleaning function when it will be sure that it works without problem. -- You received this message bec

Re: Need help for a Zim importer

2014-12-10 Thread Davy Cottet
I finally made it worked this way. It just works on my extensive wiki tree, so I think it's conclusive... Of course I could modify it if doDelete is a problem, but for now, I don't really understand the issue of it... Now I'm happy : I've a very nice Leo/rst outline with all my last years data.

Re: Need help for a Zim importer

2014-12-10 Thread Davy Cottet
Ok for deleting, I'll study it more carefully, but what about replacing a node by its single child ? Obviously parent=child does not work... and I've not succeded to make moveToParent() working -- You received this message because you are subscribed to the Google Groups "leo-editor" grou

Re: Need help for a Zim importer

2014-12-10 Thread Davy Cottet
Thanks for that, I'm gonna have a look at this and test it I've been working on a function to clean useless nodes. I'm fighting with a simple case : how to replace a node by it subnode & tree ? See last line for pos in c.all_positions(): if '@rst-no-head' in pos.h: parent = po

Re: Need help for a Zim importer

2014-12-10 Thread Davy Cottet
Finally, it came out that excepting some eternal encoding issues, that was pretty simple to write an importer without care about external files, crosslinks... If you want to have a look on it, do not hesitate to modify it if you find some issues or potential improvements. Here it is : https://

Re: Need help for a Zim importer

2014-12-09 Thread Davy Cottet
OK, thanks. I'm gonna have a look at this tomorrow. I'll try to write a very simple script based on RecursiveImportController since I don't need any fancy feature. Dealing with crosslinks, images, external file, checklist or other plugins may be more tricky for achieving a complete Zim importer..

Re: Help! rev b435458 is causing problems

2014-12-09 Thread Davy Cottet
I'm using mercurial and its git interface plugin and I still see some \ problems in some config files... I remove the folder and clone it again, that seems to work now. I made another pull request. -- You received this message because you are subscribed to the Google Groups "leo-editor" group.

Re: Help! rev b435458 is causing problems

2014-12-09 Thread Davy Cottet
That was it, I made a pull request to fix it. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send

Re: Help! rev b435458 is causing problems

2014-12-09 Thread Davy Cottet
>From what I see on github CKeditor folder still fine... Concerning rope problem, it seems to be a back slash problem : http://stackoverflow.com/questions/24236088/git-will-escape-the-backslash-on-my-remote-path-for-network You could just try to replace \\ by / in .gitmodules https://github.com/

Re: Leo Doc & Sphinx

2014-12-09 Thread Davy Cottet
I've just updated the API part on the website : http://davy39.github.io/leo-editor/apidoc/leo.html Instead of manually listing modules with sphinx.ext.autosummary, I've tryed to call sphinx-apidoc for an automatic building. I got errors from Qt4 modules import so I had to Mock Qt4 modules to ach

Re: Leo Doc & Sphinx

2014-12-09 Thread Davy Cottet
Hi, I'm pretty satisfied of my work now, so I just publish it on github : https://github.com/davy39/leo-editor/tree/experimental You can download it and start playing by opening *doc/leoDocs.leo*. It should work out of the box...

Need help for a Zim importer

2014-12-08 Thread Davy Cottet
Hi, Before knowing Leo, I've been using Zim as a PIM and documentation tool, so I've my last year personal documentation in it's format I would like to make an importer for Leo, I think it's not a big deal, but I'm not yet very familiar with Leo's API for importers, cr

Leo Doc & Sphinx

2014-12-08 Thread Davy Cottet
Hi, I've been back a bit on what initially bring me to Leo : *sphinx* documentation using it's great rst3 command :) I've achieved a low level integration of sphinx within Leo, using @settings @data as conf.py and without any Makefile but instead Leo's @buttons. So everything is contained int

Re: New distribution process for testing

2014-12-04 Thread Davy Cottet
Sorry for the disagreements, I'm fighting to merge, pull, push from various repos/branch so I had to move this work in a experiental branch. You can get it here : https://github.com/davy39/leo-editor/archive/experimental.zip And see history of commits here : https://github.com/davy39/leo-editor/

Re: Strange g.os_path_abspath(c.fileName) behaviour...

2014-12-04 Thread Davy Cottet
Thank Edward, again you solve my problem : So instead of g.os_path_abspath(c.fileName) that I was wrongly using since it kind of worked I have to use : g.os_path_dirname(c.fileName*()*) I fact, I didn't understand what was this strange *c.fileName *comander followed by a string that *g.os_path_d

Re: Any testers for leo-5.0-2.noarch.rpm ?

2014-12-04 Thread Davy Cottet
So you did convert to deb a rpm I converted from deb with alien :) At least, no information have been lost in the process. We gotta test it in a rpm based environment, like fedora. I think the sensitive part will be to see how it handle dependencies since I have not checked yet if they are called

Strange g.os_path_abspath(c.fileName) behaviour...

2014-12-04 Thread Davy Cottet
Hi, For my experimental version of leoDist.leo, I use abspath(c.fileName) to get the path of the opened outline, in this case /path/of/leo/dist I've noticed a strange behaviour, that unfortunately implies bugs. Maybe can you reproduce it and explain to me : - put this code into a @button : g.es(

Re: richtext.py + debian CKEditor

2014-12-04 Thread Davy Cottet
> > Which one of standard-all, basic, standard, and full version should Leo > use ? > > ​I'm not sure what you mean (are these Ubuntu terms?), but standard-all > seems like what we want. > They are just various branches of Ckeditor from their git repos, including different plugins and settings.

Re: Any testers for leo-5.0-2.noarch.rpm ?

2014-12-04 Thread Davy Cottet
Ooops, I put it into linux brach since then... Here it is : https://github.com/davy39/leo-editor/blob/linux/leo-5.0-2.noarch.rpm?raw=true -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails fro

Re: Any testers for leo-5.0-2.noarch.rpm ?

2014-12-04 Thread Davy Cottet
Nope... I guess there are not (yet?) many rpm Leo users, at least on this google group... So I haven't tried it yet neither, since I my first Fedora live CD download attempt failed... I've to try again... -- You received this message because you are subscribed to the Google Groups "leo-editor

Re: richtext.py + debian CKEditor

2014-12-04 Thread Davy Cottet
So, I struggled a bit to finally discover that Ubuntu Utopic version of CKeditor does not work... This is due to this bug : https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756155 Installing version from trusty 4.3.0 or vivid 4.4.4 make it worked again... Debian version should work as well. So

Re: richtext.py + debian CKEditor

2014-12-03 Thread Davy Cottet
Actually, I spoke to fast... Depending on debian/ubuntu releases, ckeditor includes or donesn't the sample folder... So I'm actually checking if this is possible to get a cke_template.html and sample.css which are cke version independent. By the way, ckeditor team recommends to include it via su

Re: richtext.py + debian CKEditor

2014-12-03 Thread Davy Cottet
So I can confirm, it works well with CKeditor from Debian/Ubuntu : */usr/share/javascript/ckeditor/* So I can patch the debian packager, so it can use the up to date system version of CkEditor. By the way, why not including it into github as a submodule ? http://git-scm.com/book/en/v2/Git-Tools-

Re: richtext.py + debian CKEditor

2014-12-03 Thread Davy Cottet
I get it worked here : https: //github.com/davy39/leo-editor/commit/6fea0c27dcc00546bd06dd4a8de2e693e4a6439b Unfortunately I keep doing some mess while committing, so better no have commit access yet ;) -- You received this message because you are subscribed to the Google Groups "leo-editor" g

Re: richtext.py + debian CKEditor

2014-12-03 Thread Davy Cottet
No problem, so this patch will only be used for debian packaging purpose (inside debian/patches folder). Debian policy does not agree with including external code provided by existing packages, fair enough. However I've just tryed to modify and activate the plugin but I got this error. I think

Re: New distribution process for testing

2014-12-02 Thread Davy Cottet
Oops, if forgot the link... You can try it buy extracting this archive https://github.com/davy39/leo-editor/archive/master.zip and then open *dist/leoDist.leo* file -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group an

New distribution process for testing

2014-12-02 Thread Davy Cottet
Hi, I've been working on a new automatized way to build distribution files. I've achieved a beta version that I'm happy to share to you for testing. Here is a basic summary of what I've done : - Move dist folder to root folder - Rewrite setup.py for using exclusively it to precisely select wh

Re: [OSX][Fink]First attempt to build a Fink package for mac users

2014-12-01 Thread Davy Cottet
That OK, I've read that they are normal warnings... However, it would be better to do things properly and build fink packages from fink info files, just to be sure. I'll see that later. 4.8.6-4 0 > 500 http://bindist.finkproject.org stable/main Packages > That mean's you get it on your repos...

Re: [OSX][Fink]First attempt to build a Fink package for mac users

2014-12-01 Thread Davy Cottet
> > sudo dpkg -r leo > (Reading database ... 243728 files and directories currently installed.) > Removing leo ... > dpkg - warning: while removing leo, directory `/usr/local/bin' not > empty so not removed. > dpkg - warning: while removing leo, directory `/usr/local' not empty > so not remo

Re: [OSX][Fink]First attempt to build a Fink package for mac users

2014-12-01 Thread Davy Cottet
>From what I've read, that should be the way to do it : - Add 'UseBinaryDist: true' to your /sw/etc/fink.conf - Add one of this lines to your /sw/etc/apt/sources.list > > deb http://bindist.finkproject.org/10.8 stable main > deb http://bindist.finkproject.org/10.9 stable main > deb http://bindis

Re: [OSX][Fink]First attempt to build a Fink package for mac users

2014-12-01 Thread Davy Cottet
Great ! Good to know that it is possible to build Fink .deb with linux :) Did you find out how to get packages with apt-get ? Maybe you have to add a repository to your sources.list and run apt-get update... http://www.finkproject.org/news/bindist_move.php If you get it, I remember there is a way

Re: [OSX][Fink]First attempt to build a Fink package for mac users

2014-11-30 Thread Davy Cottet
I've tryed to chmod the launcher before packaging, let's see it that did the trick. Otherwise, I'll need to make a postinst script to fix permission. Concerning, your present problem, it look like python is not able to find your previously installed pyqt4 module. My fist thought is that your def

Re: [OSX][Fink]First attempt to build a Fink package for mac users

2014-11-30 Thread Davy Cottet
Thanks for that report. I didn't remember that dpkg -i* do not *install dependencies automatically... that a pity... So I guess until Leo host it's own repository or not been included in fink repos you have to install dependencies manually. By the way there a many qt4 subpackages in fink repos so

Re: [OSX][Fink]First attempt to build a Fink package for mac users

2014-11-29 Thread Davy Cottet
I just had a chat on Fink IRC. It might be possible to make it work like this. However, they told me that a deb was not sufficient for being distributable. For that, we have to work on a fink info file. Here are some examples : http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.7/stable/main/fi

Re: [OSX][Fink]First attempt to build a Fink package for mac users

2014-11-29 Thread Davy Cottet
Thank for the info, here is another try with gzip : https://mega.co.nz/#!eIA1zTIC!goXv1a9LyBcGXZDyh6cq2G6Ip4iah9hiZCM1DwfNRmM I found no info about building deb for fink on linux... so let's hope ! -- You received this message because you are subscribed to the Google Groups "leo-editor" group.

Re: [OSX][Fink]First attempt to build a Fink package for mac users

2014-11-29 Thread Davy Cottet
No luck... It would have been too easy :) I'm gonna have a look to Fink doc to see what I did wrong. We keep in touch; By the way, what is your dpkg version ? dpkg --version -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this

Re: apt-get install leo

2014-11-29 Thread Davy Cottet
I've just uploaded a first shot, thanks to test it and report how it goes. We can developp this Fink subject here : https://groups.google.com/forum/#!topic/leo-editor/N5KXoX2U3sE -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from

[OSX][Fink]First attempt to build a Fink package for mac users

2014-11-29 Thread Davy Cottet
I've just uploaded a first build of a Fink deb package for Mac users. You can download it here : https://mega.co.nz/#!CQRQhKCL!toISQjV0XExLAhmUu3mgCefYK9MoTzxFWUNi5iouPno Then try to install it with Fink : sudo dpkg -i

Re: ...\Scripts\leo oddity (was Re: What is the status of installers for 5.0 final?)

2014-11-28 Thread Davy Cottet
Ok, now I've a fully controlled and understood setup.py & MANIFEST.in... hopefully. I had some troubles with my commits so I force a push to go back, I know it's bad and I hope it won't disturb too much. You should now be able to pull an merge from the master branch of my fork : https://github.c

Re: ...\Scripts\leo oddity (was Re: What is the status of installers for 5.0 final?)

2014-11-28 Thread Davy Cottet
Hold on, I've made a stupid mistake by declaring several times 'leo' key in package_data ... I didn't realize it sooner probably because I didn't clean my damn egg and build folders... I'm gonna correct it and inform you when my git repo is OK -- You received this message because you are subsc

Re: apt-get install leo

2014-11-28 Thread Davy Cottet
Well, to tell the truth I did never even power on any apple thing... I didn(t know that there was a mac support for .deb packages, so I just had a look at Fink. As .deb, packages are similar to debian ones but identical, mean debian packages cannot run out of the box on your system; >From what

Re: ...\Scripts\leo oddity (was Re: What is the status of installers for 5.0 final?)

2014-11-28 Thread Davy Cottet
As a demo, I've created a clean version of setup.py and MANIFEST.in. This is done within leo/core/leoPyRef.py file with << parameters >> (we could then clone them for other uses. So do not modify setup.py file itself but leoPyRef.py. You can try it after download it from github : https://github

richtext.py + debian CKEditor

2014-11-28 Thread Davy Cottet
Hi, I would like to patch richtext.py in order to avoid instaling external software and using instead native debian CKEditor installation. It would be necessary to include Leo to Debian repositories. https://packages.debian.org/wheezy/all/ckeditor/filelist Would just replacing path parameter in

Re: ...\Scripts\leo oddity (was Re: What is the status of installers for 5.0 final?)

2014-11-27 Thread Davy Cottet
> > With source, we only need one, and (when properly configured) it serves > all python versions and OS combinations. I forget to mention : You can configure your source (ie sdist) files with MANISEST.in and you'll get a nice tarball with all your MANIFEST.in glob parameters... *But* when yo

Re: ...\Scripts\leo oddity (was Re: What is the status of installers for 5.0 final?)

2014-11-27 Thread Davy Cottet
For completeness, I forgot to mention these points: 1 - If you want to run some tests, please never forget to* clean build and egg folders *every time you change some params ! Otherwise the results are meaningless ! It took me a large quantity of coffee before understand that... 2 I just f

Re: ...\Scripts\leo oddity (was Re: What is the status of installers for 5.0 final?)

2014-11-27 Thread Davy Cottet
I'm studding as well this setup.py issue... I'm actually trying try to integrate all dist related files and scripts into leoDist.leo using clones of << >> to store all shared distrib parameters (version, paths, changelogs...). Actually I've done too many rough changes that haven't been debugged

Re: apt-get install leo

2014-11-25 Thread Davy Cottet
> > Of course... never satisfied :-), I'm wondering what it takes to get it > into the Ubuntu repositories :-} And are we even ready for the traffic > that might generate? To enter into the main Ubuntu repository, the package have to be reviewed and sponsored by an official* debian* "develo

Any testers for leo-5.0-2.noarch.rpm ?

2014-11-25 Thread Davy Cottet
Hi, Since there is a working (I hope so, tell me) debian package, Ive just ran a very basic deb to rpm conversion : sudo alien -r leo_5.0-1_all.deb I've a very little experiment with rpm based distro, so could you please try this rpm while I'm downloading a Fedora live CD ? https://github.com/d

Re: apt-get install leo

2014-11-25 Thread Davy Cottet
Don't worry I will be careful, and first study you scripts details. Do you know if it is possible to run your windows builder under linux environment ? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiv

Re: apt-get install leo

2014-11-24 Thread Davy Cottet
It's fixed ! Let's download it ! You'll get a nice leo launcher in you menu and .leo showing the wonderfull leo icon inside your folders :) Edward, what do you think about moving dist folder into root dir and add all the windows related files into it? Can I start working on it ? -- You receiv

Re: apt-get install leo

2014-11-24 Thread Davy Cottet
Please do not install from ppa yet, there is also a probleme with launchers. In fact setuptools generated scripts do not support private modules. I didn't realize that before because a had some gost installations of leo hidden in my system. That will be an advantage of having a deb installer tha

Re: apt-get install leo

2014-11-24 Thread Davy Cottet
Sorry for that, I've just seen that there is a copy-paste mistake in debian/leo.sharedmimeinfo. It give the following error during installation : Root element is not (in '/usr/share/mime/packages/leo.xml'). It's just a mime issue, you still can enjoy leo, I'll correct it tomorrow so you'll hav

apt-get install leo

2014-11-24 Thread Davy Cottet
Hi, I'm happy to announce first releases of Leo 5.0 as a debian/ubuntu packages ! For now it is available on my personal package archive ppa, and I hope it will be on leo's soon. Let's go straight to the interesting part, thanks to try my builds on your debian based environment : *On Ubuntu :

Re: Leo 5.0 final coming later today: no more commits, pls

2014-11-24 Thread Davy Cottet
I'm ready to debian builds and put them into ppa, just tell me when final commit is done on github. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+uns

Re: What is the status of installers for 5.0 final?

2014-11-23 Thread Davy Cottet
> > ​I don't understand your point here. You are welcome to become part of > the leo-editor team.​ > > I just wanted to say that it would be better if leo ppa could be part of leo-editor existing launchpad account for you to have full control of it. I just set-up a PPA to see what are differ

Re: What is the status of installers for 5.0 final?

2014-11-23 Thread Davy Cottet
A good example of multi-os install script with quite the same dependencies as Leo is the one from Eric IDE : http://die-offenbachs.homelinux.org:4/hg/eric/file/8e2b5bdd6bf3/install.py However, for both Calibre and Eric IDE one important point is that they are installed as "stand-alone" appl

Re: What is the status of installers for 5.0 final?

2014-11-22 Thread Davy Cottet
I've less time to work on it on the week-end, but I think within a couple of days, I'll get to the point of having a clean debian build procedure for Leo. Edward, do you work sometime on a linux environment in order to perform the builds ? Or is there someone else from your team to deal with l

Re: What is the status of installers for 5.0 final?

2014-11-21 Thread Davy Cottet
Is there many part of the code using folder and file structure to store information ? If it is only the case for leoVersion.py maybe an alternative would be to store last commit and git information as a module or pickle ? -- You received this message because you are subscribed to the Google Gro

Re: Any release blockers for Leo 5.0-final?

2014-11-21 Thread Davy Cottet
The "setup.py install" is still not working on my ubuntu. I think you would better advice a "pip install leo" for linux users. I'm almost ready to provide a working .deb package for Ubuntu/Debian users, I just have to test it on fresh debian install (probably today) and then wait for 5.0 to be re

Re: What is the recommended way to install on Linux?

2014-11-20 Thread Davy Cottet
OK, so tomorrow I'll work on a unique package requiring python2-qt5, which if not possible (ie before Debian Jessie and Ubuntu Trusty) will fallback on python2-Qt4. It will require all the packages you mentioned, and will not care about recommended and suggested packages. Then the simplest way t

Re: What is the recommended way to install on Linux?

2014-11-20 Thread Davy Cottet
So, what do you think ? Is there a reason to build different deb packages for different versions (ie for Python3 and Qt5) or we just go simply with one universal Python2/Qt4 package ? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubsc

Re: What is the recommended way to install on Linux?

2014-11-19 Thread Davy Cottet
So apparently, there is no way to deal with dynamic dependencies on debian, that mean I cannot tell : if python3 is installed, then install pyqt5 and so on... So we have to be hierarchical and define a "strategy" for distribution. You'll find at the end of this message what are the possibilitie

Re: What is the recommended way to install on Linux?

2014-11-19 Thread Davy Cottet
I forgot to ask : - Is there any minimal python and qt/pyqt versions leo can work with ? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr..

Re: What is the recommended way to install on Linux?

2014-11-19 Thread Davy Cottet
Stdeb use those dependencies (and also requiered and suggested) to writte the debian/control file inside .deb package. Actually, since I'm learning about debian packaging, I think about writing leo's custom build scrip to fine custom the packages... from leo :) Then, those dependencies are given

Re: What is the status of installers for 5.0 final?

2014-11-19 Thread Davy Cottet
> > So `sudo python setup.py install` issued no errors, but attempting to run > Leo afterwards does? Exactly. The problem is that an egg is installed and not a folder like I reported before : Installed /usr/local/lib/python2.7/dist-packages/leo-5.0b2-py2.7.egg -- You received this message

Re: What is the status of installers for 5.0 final?

2014-11-19 Thread Davy Cottet
On Ubuntu : sudo pip install leo > leo > ->OK wget -O- https://github.com/leo-editor/leo-editor/archive/master.zip && > sudo pip install master.zip > leo > ->OK unzip master.zip > cd leo-editor-master > sudo python setup.py install > leo > -> IOError: [Errno 20] Not a directory: '/usr/local/l

  1   2   >