Thanks a lot for your answer and for explanations, Simon!
According to your suggestions I checked yesterday site-packages.zip and yes, directory teradatasqlalchemy-17.0.0.0.dist-info contains entry_point.txt. I also compared all content of site-packages.zip with the same libs' directories in python site-packages folder and everything the same. Also I was trying to use site-packages.zip created in different systems: windows through git bash, macos and inside linux-based docker container with mounted volume to save .zip I got in container - so in every try it was created using command line interfaces.
Some screenshots of .zip file content and corresponding .dist-info content were attached.
Also I found out the way to resolve problem mentioned in this topic yesterday, there were such steps:
> from sqalchemy.dialects import registry
> registry.register("teradatasql", "teradatasqlalchemy.dialect", "TeradataDialect")
Engine was finally successfully created inside AWS Glue job's env, but then OSError with teradatasql.so file was occurred (also there is attached screenshot). In local env there is no such problem.
I believe this is not related to SQAlchemy itself, but to Spark context and Amazon environment.
https://stackoverflow.com/questions/61931878/running-teradatasql-driver-for-python-code-using-spark here is the same topic, but everything in my site-packages.zip identical to ordinary site-packages in python dir.
I 99% sure that it's not the question to SQAlchemy team, but to summarize the state of an issue I mentioned it. And probably I also hope that someone accidentally know something about it. A big sorry for wasting your time and thank you for an effort you did!
BR, Anhelina
вторник, 2 февраля 2021 г. в 19:04:00 UTC+2, Simon King: