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 found that using *data_files* is a way to specify the paths of
certain files by mapping them :
data_files=[('Documentation', ['doc/leoPlugin.leo',
'doc/leoCheatSheet.leo']),
('Config', ['cfg/data.cfg']),
('/etc/init.d', ['init-script'])]
Then it is possible to separate your program install path to those
data_files with the following parameters
python setup.py install --root=dist/myInstallTest
--install-lib=folderForModules
--install-data=folderForDataFiles
With binary we need a different configuration and delivery archive for each
> platform.
>
What I mean is not thinking about "binaries" but more about files to be
installed or not on user's system :
- An advanced user, maintainer or developer who want to study, modify or
distribute L'eo's code would of course need to access the full source code.
He can either download it via `git`, `pip install --download` or
sourceforge. After extract it he will have full access to all development
related staff test, distribution, scripts...
- On contrary a basic user, (who will apt-get, sudo pip install, or
whatever) doesn't need all this extra development related code. In linux,
the fact is that since they are installed into your system path, you won't
even be able to modify them, and most users probably even doesn't know
where they are installed...
This is the reason I think we do have to adapt installations for every
distro (nsis, .deb, rpm, mac app...) in order to make certain files easily
accessible for users.
I think that's the meaning of distribution. Especially, all those .leo
files, actually quite hidden, should be copied into the user folder (~/.leo
in Linux), just for users be able to know that these great resources
exists. Also link to html documentation, script and plug-in examples...
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.