But python3 setup.py install --user did succeed.

On Fri, Feb 8, 2019 at 6:55 AM Neal Becker <[email protected]> wrote:

> Nope, still no good.  I did a fresh zip download, then:
> [nbecker@nbecker2 leo-editor]$ pip3 install --user --editable .
> Obtaining file:///home/nbecker/leo-editor
>   Installing build dependencies ... done
>   Getting requirements to build wheel ... done
> ...
> Installing collected packages: leo
>   Running setup.py develop for leo
>     Complete output from command /usr/bin/python3 -c "import setuptools,
> tokenize;__file__='/home/nbecker/leo-editor/setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps
> --user --prefix=:
>
>     Removing build, dist and egg directories
>     Creating entry_points for [OS name - system]: posix - Linux
>
> /tmp/pip-build-env-cv1by6pl/overlay/lib/python3.7/site-packages/setuptools/dist.py:484:
> UserWarning: The version specified ('5.8.1-b2-devel') is an invalid
> version, this may not work as expected with newer versions of setuptools,
> pip, and PyPI. Please see PEP 440 for more details.
>       "details." % self.metadata.version
>     usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
>        or: -c --help [cmd1 cmd2 ...]
>        or: -c --help-commands
>        or: -c cmd --help
>
>     error: option --user not recognized
>
>     ----------------------------------------
> Command "/usr/bin/python3 -c "import setuptools,
> tokenize;__file__='/home/nbecker/leo-editor/setup.py';f=getattr(tokenize,
> 'open', open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps
> --user --prefix=" failed with error code 1 in /home/nbecker/leo-editor/
>
>
> On Fri, Feb 8, 2019 at 3:08 AM Matt Wilkie <[email protected]> wrote:
>
>>
>>
>> On Thursday, 7 February 2019 22:18:51 UTC-8, Matt Wilkie wrote:
>>>
>>> @Matt line 13-14 of the setup.py
>>>> import leo.core.leoGlobals as g
>>>> import leo.core.leoVersion as leoVersion
>>>> won't work if setup.py is executed outside of the leo-editor folder.
>>>> You need to add leo-editor folder to sys.path.
>>>>
>>>
>>> Thank you! It would never have occurred to me that setup.py would be run
>>> from somewhere else.
>>>
>>
>> Fixed in https://github.com/leo-editor/leo-editor/issues/1079. Thanks
>> for pointing me in the right direction. I was off in a totally different
>> direction.
>>
>>
>> Neal:  If you rename `pyproject,toml` or move it out of the way pip
>> install will probably work without having to download a new copy of leo.
>>
>> Matt
>>
>> --
>> 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 https://groups.google.com/group/leo-editor.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to