On Tue, Oct 28, 2014 at 10:16 AM, Matt Wilkie <[email protected]> wrote:

> if not 'pip-egg-info' in sys.argv:
>
> instead seems to satisfy both `pip install ...` and `python setup.py ...`
>


Scratch that. It seemed to work once but when I repeated just a bit ago it
didn't work. It appears pip runs through setup.py more than once, the
inital pass succeeds, because egg-info is in the arg list, but the next
time it's called it doesn't.

```
B:\apps\leo-editor>pip install .
Unpacking b:\apps\leo-editor
  Running setup.py
(path:c:\users\matt\appdata\local\temp\pip-zskm0w-build\setup
.py) egg_info for package from file:///B:/apps/leo-editor
    ['-c', 'egg_info', '--egg-base', 'pip-egg-info']

    warning: no files found matching 'pylint-leo.bat'
    warning: no previously-included files matching '*.pyc' found under
directory
 'leo'
    warning: no previously-included files matching '*.pyo' found under
directory
 'leo'
    warning: no files found matching '*.tix' under directory 'leo'
    warning: no files found matching '*.dbm' under directory 'leo'
    warning: no files found matching '*.conf' under directory 'leo'
    warning: no files found matching '*.TXT' under directory 'leo'
    warning: no files found matching '*.def' under directory 'leo'
    warning: no files found matching '*.six' under directory 'leo'
    warning: no files found matching '*.cat' under directory 'leo'
    warning: no files found matching '*.pro' under directory 'leo'
    warning: no files found matching '*.xsl' under directory 'leo'
    warning: no files found matching '*.rix' under directory 'leo'
    warning: no files found matching '*.alg' under directory 'leo'
    warning: no files found matching '*.iix' under directory 'leo'
    no previously-included directories found matching 'leo\plugins\test'
    no previously-included directories found matching 'leo\__pycache__'
    no previously-included directories found matching 'leo\*\__pycache__'
Installing collected packages: leo
  Running setup.py install for leo
    ['-c', 'install', '--record',
'c:\\users\\matt\\appdata\\local\\temp\\pip-z5
cafq-record\\install-record.txt', '--single-version-externally-managed',
'--comp
ile']
    setup.py is only used for `pip` installs, please see:
    http://leoeditor.com/installing.html
  Record file
c:\users\matt\appdata\local\temp\pip-z5cafq-record\install-record.
txt not found
Successfully installed leo
Cleaning up...
```

This brings me to a question I haven't seen asked (recently):
why doesn't "python setup.py install" work anyway?

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

Reply via email to