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

2014-11-20 Thread Edward K. Ream
On Thu, Nov 20, 2014 at 8:54 AM, Davy Cottet wrote: > 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

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-20 Thread Edward K. Ream
On Wed, Nov 19, 2014 at 9:59 PM, Davy Cottet wrote: > I forgot to ask : > > - Is there any minimal python and qt/pyqt versions leo can work with ? > ​Python 2.6 and above, including any Python 3.x version, as stated in Leo's installation guide. Not sure about qt, but that shouldn't be a probl

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

2014-11-20 Thread Edward K. Ream
On Wed, Nov 19, 2014 at 9:50 PM, Davy Cottet wrote: So I've 3 questions to the developers : > > 1 - Is there a recommended configuration from the above ones to be the > default one if no qt was previously installed and both py2 and py3 are > installed ? > ​Prefer PyQt5 regardless of Python versi

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 recommended way to install on Linux?

2014-11-19 Thread Matt Wilkie
Looks like wonderful work Davy, from over here on the Windows side anyway. Finally, we just have to think about dependencies for various python/qt > versions in order to complete stdeb.cfg file. Not sure what it's like in stdeb world, but in Distutils/Setup the "dependencies" feature only appli

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

2014-11-19 Thread Davy Cottet
So finally, there is no option in stdeb to indicate some files to copy to some system dirs (for* icons* for exemple) so I here is a method to get it. Concerning* launchers*, setup.py indicate leoc & leo entry_points and leo-install.py script which are copied to /usr/bin . - Install stdeb :

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

2014-11-18 Thread Matt Wilkie
On Tue, Nov 18, 2014 at 7:09 PM, Davy Cottet wrote: > I guess you use bdist_wininst for windows build, so it would be great to > configure > I spent a bunch of time on the bdist_wininst, but in the end decided it wasn't worth the effort since we (meaning Edward) builds an NSIS installer anyway,

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

2014-11-18 Thread Davy Cottet
Le mercredi 19 novembre 2014 01:46:24 UTC+8, Matt Wilkie a écrit : > > Davy, will stdeb make rpm and pkg for Mac? > > Stdeb seems to be only for deb packaging... Concerning other distutils/setuptools extensions, i found this for RPM : https://pypi.python.org/pypi/pyp2rpm And this for mac : http

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

2014-11-18 Thread Matt Wilkie
> > Davy, will stdeb make rpm and pkg for Mac? A couple more links for package conversion; fpm shows up a lot. - http://www.linux.org/threads/converting-packages.6620/ - https://github.com/jordansissel/fpm/wiki/ConvertingPython -- You received this message because you are subscribed to the Goo

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

2014-11-18 Thread Chris George
Davy, will stdeb make rpm and pkg for Mac? Chris On Monday, November 17, 2014 11:54:01 PM UTC-8, Davy Cottet wrote: > > I'm working on this stdeb configuration, It's really a nice tool ! > Build can be configured in* setup.cfg file under a [sdist_dsc]* section. > For exemple, integration of a d

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

2014-11-18 Thread Edward K. Ream
On Mon, Nov 17, 2014 at 7:31 AM, Edward K. Ream wrote: ​> ​ ​What is the easiest way to install on Linux? I have been just barely following the exchange between Matt, Davy and Chris. I am so glad and grateful that people who know a whole lot more about installation issues are working on this.

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

2014-11-17 Thread Davy Cottet
I'm working on this stdeb configuration, It's really a nice tool ! Build can be configured in* setup.cfg file under a [sdist_dsc]* section. For exemple, integration of a desktop file is very easy with this option : > [sdist_dsc] > MIME-Desktop-Files = leo.desktop > And then create a leo.desktop f

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

2014-11-17 Thread Davy Cottet
Hi, I found a very nice python module that will do, I think, exactly what we need : https://github.com/astraw/stdeb For a first basic try I, just do this : pip install stdeb Then go into leo folder and run : python setup.py --command-packages=stdeb.command bdist_deb Then you get a nice pyth

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

2014-11-17 Thread Chris George
fpm looks like a critical part of a toolchain. One script would put it together, I think. Some further research is required, but it should be pretty easy to build. We need a list of dependencies, a .desktop file and some planning around paths. :-) But then it should be a simple matter of runnin

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

2014-11-17 Thread Davy Cottet
I've downloaded the .deb and installed it via Ubuntu Software center. Sounds that it doesn't like the "quality" of your "untrusted" package ;). However that's a good start and the usefull files are copied into /opt/leo-editor/leo-editor/leo/ which is probably too much folders... One more things is

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

2014-11-17 Thread gatesphere
On 11/17/2014 6:33 PM, Chris George wrote: Heh. The deb file includes the hidden directories. .git contains 121.5MB of stuff. Correcting now. .git is a hidden killer. Tell your friends! On Monday, November 17, 2014 3:24:39 PM UTC-8, Chris George wrote: Good question. All I did was c

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

2014-11-17 Thread Chris George
The new deb file is 7.1MB and has been uploaded. Now if someone could test it... https://www.wuala.com/technatica/Documents/temp/?key=8LhJkZwO0Rp1 On Monday, November 17, 2014 3:33:18 PM UTC-8, Chris George wrote: > > Heh. The deb file includes the hidden directories. .git contains 121.5MB > of

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

2014-11-17 Thread Chris George
Heh. The deb file includes the hidden directories. .git contains 121.5MB of stuff. Correcting now. On Monday, November 17, 2014 3:24:39 PM UTC-8, Chris George wrote: > > Good question. All I did was copy my leo-editor folder (which I recently > installed via git) to /opt/leo-editor and run the

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

2014-11-17 Thread Chris George
Good question. All I did was copy my leo-editor folder (which I recently installed via git) to /opt/leo-editor and run the script. The leo-editor folder checks in at 150.9MB. I will try again with a fresh git install. Chris On Monday, November 17, 2014 3:02:18 PM UTC-8, Matt Wilkie wrote: > >

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

2014-11-17 Thread Matt Wilkie
On Mon, Nov 17, 2014 at 1:55 PM, Chris George wrote: > I jumped the gun. Apparently it takes while to upload 128.1MB. Why so big? the source Leo distrib for pypi.org is ~6mb. -matt -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscri

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

2014-11-17 Thread Chris George
This is a simple build of a deb, just the files, no dependencies. I can see how it would be simple to set-up a script to build this dynamically. Chris On Monday, November 17, 2014 1:56:32 PM UTC-8, Chris George wrote: > > It is uploaded and appears in my other browser just fine. > > Chris > > On

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

2014-11-17 Thread Chris George
It is uploaded and appears in my other browser just fine. Chris On Monday, November 17, 2014 1:49:54 PM UTC-8, Terry Brown wrote: > > On Mon, 17 Nov 2014 13:41:36 -0800 (PST) > Chris George > wrote: > > > I have built a deb file from the latest git pull. Can anyone test it? > > I use Chakra as

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

2014-11-17 Thread Chris George
I jumped the gun. Apparently it takes while to upload 128.1MB. On Monday, November 17, 2014 1:49:54 PM UTC-8, Terry Brown wrote: > > On Mon, 17 Nov 2014 13:41:36 -0800 (PST) > Chris George > wrote: > > > I have built a deb file from the latest git pull. Can anyone test it? > > I use Chakra as

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

2014-11-17 Thread 'Terry Brown' via leo-editor
On Mon, 17 Nov 2014 13:41:36 -0800 (PST) Chris George wrote: > I have built a deb file from the latest git pull. Can anyone test it? > I use Chakra as a distribution, which doesn't use deb or rpm. > > https://www.wuala.com/technatica/Documents/temp/?key=8LhJkZwO0Rp1 > Clicking on that link too

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

2014-11-17 Thread Chris George
I have built a deb file from the latest git pull. Can anyone test it? I use Chakra as a distribution, which doesn't use deb or rpm. https://www.wuala.com/technatica/Documents/temp/?key=8LhJkZwO0Rp1 On Monday, November 17, 2014 1:02:58 PM UTC-8, Chris George wrote: > > This tool will likely sav

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

2014-11-17 Thread Chris George
This tool will likely save time. It can start with a directory and build rpm, deb and even pkg files for Mac. https://github.com/jordansissel/fpm I will install it later and poke around to see how hard it is to build. Chris On Monday, November 17, 2014 5:31:38 AM UTC-8, Edward K. Ream wrote: >

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

2014-11-17 Thread Edward K. Ream
On Mon, Nov 17, 2014 at 1:44 PM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > On Mon, 17 Nov 2014 13:29:53 -0600 > "Edward K. Ream" wrote: > > > I think some people (a > ​ ​ > majority?) will stop reading at "to install Leo download git...". > ​That's the irony. Imo, it'

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

2014-11-17 Thread 'Terry Brown' via leo-editor
On Mon, 17 Nov 2014 13:29:53 -0600 "Edward K. Ream" wrote: > On Mon, Nov 17, 2014 at 12:53 PM, Chris George > wrote: > > ​> ​ > None of this really helps with installation on Linux, but it might > provide some perspective. > > ​Thanks for this. The irony is that using git to grab the latest >

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

2014-11-17 Thread Edward K. Ream
On Mon, Nov 17, 2014 at 12:41 PM, Matt Wilkie wrote: > > Ideally we'd have someone to create .deb, .rpm etc. > ​In the past Ville Vainio has created these. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group a

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

2014-11-17 Thread Edward K. Ream
On Mon, Nov 17, 2014 at 12:53 PM, Chris George wrote: ​> ​ None of this really helps with installation on Linux, but it might provide some perspective. ​Thanks for this. The irony is that using git to grab the latest version and a script to execute seems to be the easiest way *by far* to use Le

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

2014-11-17 Thread Chris George
I am a full time Linux user and can only add my experience. On installation of a new distribution on my computer, I install the prerequisites (python, pyQt, enchant, docutils) using the package manager, which varies with distribution. Then I run the following from a command prompt: git clone h

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

2014-11-17 Thread Matt Wilkie
> > I understand there may be issues resulting from "sudo pip" to manage > system packages instead of the system package manager > Ideally we'd have someone to create .deb, .rpm etc. but there's no one around, at present, with those skills and motivation. << job ad here :grin: >> -matt -- You

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

2014-11-17 Thread Matt Wilkie
I'm only a sometime Linux user, so take comments below with that in mind. - if user have root access and want to make leo available for all users > "sudo pip install ..." should work to install modules globally, and "pip install --user ..." for just current user. I understand there may be issue

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

2014-11-17 Thread Edward K. Ream
On Mon, Nov 17, 2014 at 8:21 AM, Davy Cottet wrote: > From, the earlier discussion I understood that pip installation was > better... > But I think it may change based on various factors : > ​Thanks for these comments :-) Edward -- You received this message because you are subscribed to the G

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

2014-11-17 Thread Edward K. Ream
On Mon, Nov 17, 2014 at 7:31 AM, Edward K. Ream wrote: > The present install.txt recommends running the install script with sudo > ./install (See the P.S.). > > But the install script no longer exists at the top level. What should the > docs say? That is, what is the easiest way to install on L

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

2014-11-17 Thread Davy Cottet
From, the earlier discussion I understood that pip installation was better... But I think it may change based on various factors : - if user have root access and want to make leo available for all users - if user want development or stable version : - if user can and want to install it with pip

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

2014-11-17 Thread Edward K. Ream
On Mon, Nov 17, 2014 at 8:02 AM, Davy Cottet wrote: > For a general point of vue, I think it may change depending on the > following elements : > ​ Did you hit "send" too soon? Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscri

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

2014-11-17 Thread Davy Cottet
For a general point of vue, I think it may change depending on the following elements : -- 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...@go

What is the recommended way to install on Linux?

2014-11-17 Thread Edward K. Ream
The present install.txt recommends running the install script with sudo ./install (See the P.S.). But the install script no longer exists at the top level. What should the docs say? That is, what is the easiest way to install on Linux? Edward P.S. Here is the part of install.txt relating to