lp://staging/~maphew/leo-editor/pypi-packaging
- Get this branch:
- bzr branch lp://staging/~maphew/leo-editor/pypi-packaging
Branch merges
- The Leo editor team: Pending requested
-
Diff: 257 lines (+179/-15)5 files modifiedbuild-leo.bat (+6/-0)
create-leobat.bat (+68/-0)
leo/config/leoSettings.leo (+1/-1)
register-leo.leos (+83/-0)
setup.py (+21/-14)
Branch information
Recent revisions
- 5781. By Matt Wilkie
-
Fix 2 launcher bugs: 1) shebang line with invalid path results in "failed to create process" error. 2) leo.exe will open a momentary console window if shebang does not have 'pythonw' (and must be 1st line in file)
- 5780. By Matt Wilkie
-
Fix "close failed in file object destructor" error at end of running installer on target machine: don't use print or anything that writes to stdout in a postinstall script.
```
close failed in file object destructor:
sys.excepthook is missing
lost sys.stderr
```
Exceptionally good explanation by David Zaslavsky at
http://stackoverflow. com/questions/ 12790328/ how-to- silence- sys-excepthook- is-missing- error - 5779. By Matt Wilkie
-
Solve no Distribute on target machine: rewrite Leo launch scripts in post install.
The foo.exe will run whatever is in foo-script.py, it doesn't need to use entry points. Kudos to PJ Eby on Distutils-SIG mailing list. - 5778. By Matt Wilkie
-
Smelly hack, allows leo.exe to run on machines w/out Distribute, by adding pkg_resources.py module from it as a "script". Not sure if I'll keep it. c.f. http://
mail.python. org/pipermail/ distutils- sig/2013- May/020805. html - 5777. By Matt Wilkie
-
setup.cfg: now works for all 3 dist options. Now I no longer have Bazaar Explorer crash everytime I run a build, because it's trying to track the ./dist and ./build dirs inside the source code tree. However the hardcoded paths to outside the source tree might be a problem to others; maybe reroute through TEMP?
- 5775. By Matt Wilkie
-
"Note that an option spelled --foo-bar on the command-line is spelled foo_bar in configuration files." (but still doesn't work for me)
- 5774. By Matt Wilkie
-
1st attempt to implement http://
docs.python. org/2.7/ distutils/ configfile. html (not working yet)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/leo-editor