bugraoz93 commented on PR #58409:
URL: https://github.com/apache/airflow/pull/58409#issuecomment-3543659702
You should be able to find an executable version when you install it in your
environment from pip. For sure, it is not a binary but should be totally
executable in all environments that can execute Python, which abstracts the
execution binary, assuming independence of OS version.
```
#!/<path_to_env>/apache-airflow-ctl/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from airflowctl.__main__ import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
```
`<path_to_env>/bin/airflowctl`
Maybe I am missing some context
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]