You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing js-beautify on a python virtualenv (i.e pip install jsbeautifier) one file js-beautify with no extension has been created on the scripts folder, which contains:
#!d:\software\sublim~2\data\packages\miscel~1\test\scripts\python.exe
#
# Stub script to run jsbeautifier
#
import sys
from jsbeautifier import main
sys.exit(main())
And of course, delete js-beautify file from the repo. After this the installation/uninstallation should be clean. Not doing a PR cos i've justed tested on win.
@brupelo Please do a PR. At very least that will give a better understanding of what you believe the fix should be. Also, as part of the PR you can add tests to verify the new behavior which will further show what your fix does.
Hi,
After installing js-beautify on a python virtualenv (i.e
pip install jsbeautifier
) one file js-beautify with no extension has been created on the scripts folder, which contains:This file, even if it's found in the path (
where js-beautify
) won't work on windows, it doesn't know anything neither about shebangs nor files without extension... so, could you please fix the setup.py properly so a windows executable will be created instead (like flake8, pep8, youtube-dl, ...). For more info about it take a look to here http://setuptools.readthedocs.io/en/latest/setuptools.html#automatic-script-creation. One real example here https://github.com/altendky/st/blob/lib/setup.py#L14.Thanks in advance.
The text was updated successfully, but these errors were encountered: