U ÃÏ aÊã@sŠdZddlZddlZeƒdZeƒdZdd„Zedkrzedƒejd <d ejd _ej d krjed ƒejd <edƒejd<n e deƒ‚dS)aü Bootstrapper for test framework plugins. The entire rationale for this system is to get the modules in plugin/ imported without importing all of the supporting library, so that we can set up things for testing before coverage starts. The rationale for all of plugin/ being *in* the supporting library in the first place is so that the testing and plugin suite is available to other libraries, mainly external SQLAlchemy and Alembic dialects, to make use of the same test environment and standard suites available to SQLAlchemy/Alembic themselves without the need to ship/install a separate package outside of SQLAlchemy. NOTE: copied/adapted from SQLAlchemy master for backwards compatibility; this should be removable when Alembic targets SQLAlchemy 1.0.0. éNÚbootstrap_fileÚ to_bootstrapcCsZtj tj t¡d|¡}tjdkrBddlm}|  ||¡  ¡}nddl }|  ||¡}|S)Nz%s.py)érr)Ú machinery) ÚosÚpathÚjoinÚdirnamerÚsysÚ version_infoÚ importlibrÚSourceFileLoaderÚ load_moduleÚimpZ load_source)ÚnamerrÚmodr©rúdC:\Users\vtejo\AppData\Local\Temp\pip-unpacked-wheel-nyjtotrf\sqlalchemy\testing\plugin\bootstrap.pyÚload_file_as_modules   rZpytestZ plugin_baseZsqla_plugin_baseT)rrZreinvent_fixtures_py2kZsqla_reinvent_fixturesZ pytestpluginZsqla_pytestpluginzunknown bootstrap: %s) Ú__doc__rr ÚlocalsrrrÚmodulesZbootstrapped_as_sqlalchemyr Ú ExceptionrrrrÚs     ÿ