On Fri, Nov 21, 2014 at 7:42 AM, Edward K. Ream <[email protected]> wrote:

> Now the not-zip-safe attribute (one-byte) file exists and a leo folder
> exists *inside* the egg file, but not in the dist-packages folder.  This
> looks like progress, but I think we need a leo folder in dist-packages
> folder itself.


I've spent the last hour and half reading and attempting to understand
what's going on. I don't. These 4 pages below seem to be on to something,
and clearer than many. With some invocations setup.py `package_data` and
`data_files` are used, and in others only MANIFEST.in, and others a
combination of the two.

http://stackoverflow.com/questions/7522250/how-to-include-package-data-with-setuptools-distribute

http://stackoverflow.com/questions/1612733/including-non-python-files-with-setup-py

http://stackoverflow.com/questions/3596979/manifest-in-ignored-on-python-setup-py-install-no-data-files-installed

http://stackoverflow.com/questions/13307408/python-packaging-data-files-are-put-properly-in-tar-gz-file-but-are-not-install

Additionally, there is at least one command listed in the docs which we
can't use, `--manifest-only`, because our current setup is not using "the
python standard way" import. Or rather it's there, but commented out (I
think I did that, last year. No recollection why at moment).

http://stackoverflow.com/questions/5651806/sdist-error-option-manifest-only-not-recognized

I've come to the conclusion our setup.py configuration is a muddle of
multiple approaches that look the same and compatible but aren't, and that
we should throw the whole thing out and start over, from the simplest
possible thing, no packages, no data (still trying to understand what makes
package data and data files different from each other) and work our way
back up to the complex but not complicated structure that is Leo. -- but
not for 5.0.

For 5.0 it should be just "use pip to install from source".

my 2c.

-matt
(going for refuge in his own simpler code playground for awhile)

-- 
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.

Reply via email to