Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use more general shebang to launch python #50

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

tai271828
Copy link
Contributor

By using env instead python directly, we can invoke the executable with
any python we want. This feature is very useful when running the
application in a customized python virtual environment.

The application sparrow-wifi.py was tested with packages[1] in a python virtual environment created by pipenv and scanning bands in my house successfully.

[1]

$ python --version
Python 3.8.3
$ pip list
Package         Version
--------------- ---------
certifi         2020.12.5
chardet         4.0.0
cycler          0.10.0
gps3            0.33.3
idna            2.10
kiwisolver      1.3.1
matplotlib      3.3.3
numpy           1.19.4
Pillow          8.1.0
pip             20.3.3
pyparsing       2.4.7
PyQt5           5.15.2
PyQt5-sip       12.8.1
PyQtChart       5.13.1
python-dateutil 2.8.1
requests        2.25.1
setuptools      51.1.1
six             1.15.0
urllib3         1.26.2
wheel           0.36.2

By using env instead python directly, we can invoke the executable with
any python we want. This feature is very useful when running the
application in a customized python virtual environment.
@ghostop14 ghostop14 merged commit ad95f2e into ghostop14:master Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants