gluent / goe

GOE: a simple and flexible way to copy data from an Oracle Database to Google BigQuery.
Apache License 2.0
8 stars 2 forks source link

Remove python path check from command executables #65

Closed nj1973 closed 7 months ago

nj1973 commented 8 months ago

When running executables we see this message:

Python path is unexpected, have you sourced ../conf/offload.env?

This is because we have a check verifying that the Python we are using is the one inside the installation directory.

In the new GOE we do not bundle a Python interpreter with the software therefore I think the check is redundant.

In issue https://github.com/gluent/goe/issues/31 we are evaluating how to package Python dependencies which might result in an executable of some kind but I still think this check is redundant.

Unless you can think of a good reason not to then remove the check on sys.exec_prefix from each executable.