Re: Improved 'extract' command

2017-10-06 Thread vitalije
> > i.e. the name I want to use for the node, `goTo`, is on the *second* >> line. Just glanced and the code and see only the first line of the >> selection is passed to the pattern matching >> >> Looks like (?ms) in a regex will put re into multi-line dot matches all >> mode, I guess

Re: Anyone know how to update Leo's pypi index?

2017-10-06 Thread Matt Wilkie
Packaging a new release for Test PyPi (Windows syntax) rd /s/q dist rd /s/q build python setup.py bdist_wheel twine upload --repository-url https://test.pypi.org/legacy/ dist/* pip install --index-url https://test.pypi.org/simple/ leo Remove broken releases (still can't re-use identical

Re: Improved 'extract' command

2017-10-06 Thread vitalije
I would not expect multi-line patterns to work (at least without some changes in code). AFAIR function extractDef tries only first line not whole selected region. Perhaps it can be changed to send whole selection to pattern checking. I can't check it until some day next week. Vitalije On

Re: Anyone know how to update Leo's pypi index?

2017-10-06 Thread Matt Wilkie
With the help of https://blog.ionelmc.ro/2014/05/25/python-packaging/ and https://ep2015.europython.eu/conference/talks/less-known-packaging-features-and-tricks I have managed to get a Leo wheel distribution built and uploaded to Test PyPi. It installs and works on Linux Mint[0] 18.2 and Windows 7

Re: Improved 'extract' command

2017-10-06 Thread Terry Brown
On Sat, 16 Sep 2017 01:50:41 -0700 (PDT) vitalije wrote: > Done at 41ebaba . > > Added support for `@data extract-patterns`. This is great. So now I'm wondering how we can extend extract to handle defs like this: // set

Re: Anyone know how to update Leo's pypi index?

2017-10-06 Thread Matt Wilkie
I uploaded a test release to Test PyPi, but it's broken. My suspicion is that not all files are present in the distribution archive. I remember struggling with Manifest and related instructions last time. To test install: pip install --no-binary :all: --index-url

Re: Anyone know how to update Leo's pypi index?

2017-10-06 Thread Matt Wilkie
As of 277e60c the gui launcher works too. I had a typo in the run invocation. So now `leo` is for gui mode and `leoc` is console. On Thu, Oct 5, 2017 at 9:29 PM, Matt Wilkie wrote: >