andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

macosx: install as in freedesktop/linux #68

Closed pvanek closed 11 years ago

pvanek commented 11 years ago

there is no place like /usr/share/applications on mac at all - the desktop files are not used on this platform

python setup.py install --user ... running install_scripts creating /Users/pvanek/Library/Python/2.7/bin copying build/scripts-2.7/enki -> /Users/pvanek/Library/Python/2.7/bin changing mode of /Users/pvanek/Library/Python/2.7/bin/enki to 755 running install_data creating /usr/share/applications error: could not create '/usr/share/applications': Permission denied

andreikop commented 11 years ago

Thanks. Now I install files to /usr/share only on linux.

Happy Christmas!

pvanek commented 11 years ago

Thanks, it's tested, fix confirmed:

rimmer:enki pvanek$ python setup.py install --user running install running build running build_py copying enki/core/uisettings.py -> build/lib/enki/core running build_scripts running install_lib copying build/lib/enki/core/uisettings.py -> /Users/pvanek/Library/Python/2.7/lib/python/site-packages/enki/core byte-compiling /Users/pvanek/Library/Python/2.7/lib/python/site-packages/enki/core/uisettings.py to uisettings.pyc running install_scripts changing mode of /Users/pvanek/Library/Python/2.7/bin/enki to 755 running install_egg_info Writing /Users/pvanek/Library/Python/2.7/lib/python/site-packages/enki-12.08.5-py2.7.egg-info