Commit b0725081 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Merge remote-tracking branch 'origin/feature_buster' into feature_simulation

parents 2acab86c 9dac7def
Pipeline #2452 failed with stage
in 60 minutes and 30 seconds
/usr/lib/python2.7/codecs.py
\ No newline at end of file
/usr/lib/python2.7/copy_reg.py
\ No newline at end of file
import os
import sys
import warnings
import imp
import opcode # opcode is not a virtualenv module, so we can use it to find the stdlib
# Important! To work on pypy, this must be a module that resides in the
# lib-python/modified-x.y.z directory
dirname = os.path.dirname
distutils_path = os.path.join(os.path.dirname(opcode.__file__), 'distutils')
if os.path.normpath(distutils_path) == os.path.dirname(os.path.normpath(__file__)):
warnings.warn(
"The virtualenv distutils package at %s appears to be in the same location as the system distutils?")
else:
__path__.insert(0, distutils_path)
real_distutils = imp.load_module("_virtualenv_distutils", None, distutils_path, ('', '', imp.PKG_DIRECTORY))
# Copy the relevant attributes
try:
__revision__ = real_distutils.__revision__
except AttributeError:
pass
__version__ = real_distutils.__version__
from distutils import dist, sysconfig
try:
basestring
except NameError:
basestring = str
## patch build_ext (distutils doesn't know how to get the libs directory
## path on windows - it hardcodes the paths around the patched sys.prefix)
if sys.platform == 'win32':
from distutils.command.build_ext import build_ext as old_build_ext
class build_ext(old_build_ext):
def finalize_options (self):
if self.library_dirs is None:
self.library_dirs = []
elif isinstance(self.library_dirs, basestring):
self.library_dirs = self.library_dirs.split(os.pathsep)
self.library_dirs.insert(0, os.path.join(sys.real_prefix, "Libs"))
old_build_ext.finalize_options(self)
from distutils.command import build_ext as build_ext_module
build_ext_module.build_ext = build_ext
## distutils.dist patches:
old_find_config_files = dist.Distribution.find_config_files
def find_config_files(self):
found = old_find_config_files(self)
system_distutils = os.path.join(distutils_path, 'distutils.cfg')
#if os.path.exists(system_distutils):
# found.insert(0, system_distutils)
# What to call the per-user config file
if os.name == 'posix':
user_filename = ".pydistutils.cfg"
else:
user_filename = "pydistutils.cfg"
user_filename = os.path.join(sys.prefix, user_filename)
if os.path.isfile(user_filename):
for item in list(found):
if item.endswith('pydistutils.cfg'):
found.remove(item)
found.append(user_filename)
return found
dist.Distribution.find_config_files = find_config_files
## distutils.sysconfig patches:
old_get_python_inc = sysconfig.get_python_inc
def sysconfig_get_python_inc(plat_specific=0, prefix=None):
if prefix is None:
prefix = sys.real_prefix
return old_get_python_inc(plat_specific, prefix)
sysconfig_get_python_inc.__doc__ = old_get_python_inc.__doc__
sysconfig.get_python_inc = sysconfig_get_python_inc
old_get_python_lib = sysconfig.get_python_lib
def sysconfig_get_python_lib(plat_specific=0, standard_lib=0, prefix=None):
if standard_lib and prefix is None:
prefix = sys.real_prefix
return old_get_python_lib(plat_specific, standard_lib, prefix)
sysconfig_get_python_lib.__doc__ = old_get_python_lib.__doc__
sysconfig.get_python_lib = sysconfig_get_python_lib
old_get_config_vars = sysconfig.get_config_vars
def sysconfig_get_config_vars(*args):
real_vars = old_get_config_vars(*args)
if sys.platform == 'win32':
lib_dir = os.path.join(sys.real_prefix, "libs")
if isinstance(real_vars, dict) and 'LIBDIR' not in real_vars:
real_vars['LIBDIR'] = lib_dir # asked for all
elif isinstance(real_vars, list) and 'LIBDIR' in args:
real_vars = real_vars + [lib_dir] # asked for list
return real_vars
sysconfig_get_config_vars.__doc__ = old_get_config_vars.__doc__
sysconfig.get_config_vars = sysconfig_get_config_vars
# This is a config file local to this virtualenv installation
# You may include options that will be used by all distutils commands,
# and by easy_install. For instance:
#
# [easy_install]
# find_links = http://mylocalsite
/usr/lib/python2.7/encodings
\ No newline at end of file
/usr/lib/python2.7/fnmatch.py
\ No newline at end of file
/usr/lib/python2.7/genericpath.py
\ No newline at end of file
/usr/lib/python2.7/lib-dynload
\ No newline at end of file
/usr/lib/python2.7/linecache.py
\ No newline at end of file
/usr/lib/python2.7/locale.py
\ No newline at end of file
/usr/lib/python2.7/ntpath.py
\ No newline at end of file
/usr/lib/python2.7/os.py
\ No newline at end of file
/usr/lib/python2.7/posixpath.py
\ No newline at end of file
/usr/lib/python2.7/re.py
\ No newline at end of file
Metadata-Version: 1.1
Name: SQLAlchemy
Version: 1.0.12
Summary: Database Abstraction Library
Home-page: http://www.sqlalchemy.org
Author: Mike Bayer
Author-email: mike_mp@zzzcomputing.com
License: MIT License
Description: SQLAlchemy
==========
The Python SQL Toolkit and Object Relational Mapper
Introduction
-------------
SQLAlchemy is the Python SQL toolkit and Object Relational Mapper
that gives application developers the full power and
flexibility of SQL. SQLAlchemy provides a full suite
of well known enterprise-level persistence patterns,
designed for efficient and high-performing database
access, adapted into a simple and Pythonic domain
language.
Major SQLAlchemy features include:
* An industrial strength ORM, built
from the core on the identity map, unit of work,
and data mapper patterns. These patterns
allow transparent persistence of objects
using a declarative configuration system.
Domain models
can be constructed and manipulated naturally,
and changes are synchronized with the
current transaction automatically.
* A relationally-oriented query system, exposing
the full range of SQL's capabilities
explicitly, including joins, subqueries,
correlation, and most everything else,
in terms of the object model.
Writing queries with the ORM uses the same
techniques of relational composition you use
when writing SQL. While you can drop into
literal SQL at any time, it's virtually never
needed.
* A comprehensive and flexible system
of eager loading for related collections and objects.
Collections are cached within a session,
and can be loaded on individual access, all
at once using joins, or by query per collection
across the full result set.
* A Core SQL construction system and DBAPI
interaction layer. The SQLAlchemy Core is
separate from the ORM and is a full database
abstraction layer in its own right, and includes
an extensible Python-based SQL expression
language, schema metadata, connection pooling,
type coercion, and custom types.
* All primary and foreign key constraints are
assumed to be composite and natural. Surrogate
integer primary keys are of course still the
norm, but SQLAlchemy never assumes or hardcodes
to this model.
* Database introspection and generation. Database
schemas can be "reflected" in one step into
Python structures representing database metadata;
those same structures can then generate
CREATE statements right back out - all within
the Core, independent of the ORM.
SQLAlchemy's philosophy:
* SQL databases behave less and less like object
collections the more size and performance start to
matter; object collections behave less and less like
tables and rows the more abstraction starts to matter.
SQLAlchemy aims to accommodate both of these
principles.
* An ORM doesn't need to hide the "R". A relational
database provides rich, set-based functionality
that should be fully exposed. SQLAlchemy's
ORM provides an open-ended set of patterns
that allow a developer to construct a custom
mediation layer between a domain model and
a relational schema, turning the so-called
"object relational impedance" issue into
a distant memory.
* The developer, in all cases, makes all decisions
regarding the design, structure, and naming conventions
of both the object model as well as the relational
schema. SQLAlchemy only provides the means
to automate the execution of these decisions.
* With SQLAlchemy, there's no such thing as
"the ORM generated a bad query" - you
retain full control over the structure of
queries, including how joins are organized,
how subqueries and correlation is used, what
columns are requested. Everything SQLAlchemy
does is ultimately the result of a developer-
initiated decision.
* Don't use an ORM if the problem doesn't need one.
SQLAlchemy consists of a Core and separate ORM
component. The Core offers a full SQL expression
language that allows Pythonic construction
of SQL constructs that render directly to SQL
strings for a target database, returning
result sets that are essentially enhanced DBAPI
cursors.
* Transactions should be the norm. With SQLAlchemy's
ORM, nothing goes to permanent storage until
commit() is called. SQLAlchemy encourages applications
to create a consistent means of delineating
the start and end of a series of operations.
* Never render a literal value in a SQL statement.
Bound parameters are used to the greatest degree
possible, allowing query optimizers to cache
query plans effectively and making SQL injection
attacks a non-issue.
Documentation
-------------
Latest documentation is at:
http://www.sqlalchemy.org/docs/
Installation / Requirements
---------------------------
Full documentation for installation is at
`Installation <http://www.sqlalchemy.org/docs/intro.html#installation>`_.
Getting Help / Development / Bug reporting
------------------------------------------
Please refer to the `SQLAlchemy Community Guide <http://www.sqlalchemy.org/support.html>`_.
License
-------
SQLAlchemy is distributed under the `MIT license
<http://www.opensource.org/licenses/mit-license.php>`_.
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: Jython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Database :: Front-Ends
Classifier: Operating System :: OS Independent
../sqlalchemy/inspection.py
../sqlalchemy/processors.py
../sqlalchemy/types.py
../sqlalchemy/pool.py
../sqlalchemy/schema.py
../sqlalchemy/exc.py
../sqlalchemy/interfaces.py
../sqlalchemy/log.py
../sqlalchemy/__init__.py
../sqlalchemy/events.py
../sqlalchemy/engine/base.py
../sqlalchemy/engine/strategies.py
../sqlalchemy/engine/util.py
../sqlalchemy/engine/result.py
../sqlalchemy/engine/default.py
../sqlalchemy/engine/interfaces.py
../sqlalchemy/engine/url.py
../sqlalchemy/engine/threadlocal.py
../sqlalchemy/engine/__init__.py
../sqlalchemy/engine/reflection.py
../sqlalchemy/util/_collections.py
../sqlalchemy/util/langhelpers.py
../sqlalchemy/util/topological.py
../sqlalchemy/util/compat.py
../sqlalchemy/util/queue.py
../sqlalchemy/util/__init__.py
../sqlalchemy/util/deprecations.py
../sqlalchemy/connectors/pyodbc.py
../sqlalchemy/connectors/mxodbc.py
../sqlalchemy/connectors/zxJDBC.py
../sqlalchemy/connectors/__init__.py
../sqlalchemy/event/api.py
../sqlalchemy/event/base.py
../sqlalchemy/event/legacy.py
../sqlalchemy/event/registry.py
../sqlalchemy/event/__init__.py
../sqlalchemy/event/attr.py
../sqlalchemy/testing/distutils_run.py
../sqlalchemy/testing/profiling.py
../sqlalchemy/testing/assertions.py
../sqlalchemy/testing/provision.py
../sqlalchemy/testing/engines.py
../sqlalchemy/testing/requirements.py
../sqlalchemy/testing/pickleable.py
../sqlalchemy/testing/util.py
../sqlalchemy/testing/exclusions.py
../sqlalchemy/testing/config.py
../sqlalchemy/testing/schema.py
../sqlalchemy/testing/assertsql.py
../sqlalchemy/testing/warnings.py
../sqlalchemy/testing/runner.py
../sqlalchemy/testing/mock.py
../sqlalchemy/testing/__init__.py
../sqlalchemy/testing/fixtures.py
../sqlalchemy/testing/entities.py
../sqlalchemy/testing/replay_fixture.py
../sqlalchemy/testing/plugin/bootstrap.py
../sqlalchemy/testing/plugin/plugin_base.py
../sqlalchemy/testing/plugin/pytestplugin.py
../sqlalchemy/testing/plugin/noseplugin.py
../sqlalchemy/testing/plugin/__init__.py
../sqlalchemy/testing/suite/test_insert.py
../sqlalchemy/testing/suite/test_sequence.py
../sqlalchemy/testing/suite/test_reflection.py
../sqlalchemy/testing/suite/test_types.py
../sqlalchemy/testing/suite/test_results.py
../sqlalchemy/testing/suite/test_ddl.py
../sqlalchemy/testing/suite/__init__.py
../sqlalchemy/testing/suite/test_update_delete.py
../sqlalchemy/testing/suite/test_select.py
../sqlalchemy/testing/suite/test_dialect.py
../sqlalchemy/sql/type_api.py
../sqlalchemy/sql/elements.py
../sqlalchemy/sql/visitors.py
../sqlalchemy/sql/annotation.py
../sqlalchemy/sql/base.py
../sqlalchemy/sql/util.py
../sqlalchemy/sql/naming.py
../sqlalchemy/sql/crud.py
../sqlalchemy/sql/compiler.py
../sqlalchemy/sql/selectable.py
../sqlalchemy/sql/operators.py
../sqlalchemy/sql/schema.py
../sqlalchemy/sql/ddl.py
../sqlalchemy/sql/dml.py
../sqlalchemy/sql/sqltypes.py
../sqlalchemy/sql/functions.py
../sqlalchemy/sql/default_comparator.py
../sqlalchemy/sql/__init__.py
../sqlalchemy/sql/expression.py
../sqlalchemy/dialects/__init__.py
../sqlalchemy/dialects/postgres.py
../sqlalchemy/dialects/firebird/kinterbasdb.py
../sqlalchemy/dialects/firebird/base.py
../sqlalchemy/dialects/firebird/fdb.py
../sqlalchemy/dialects/firebird/__init__.py
../sqlalchemy/dialects/mssql/pyodbc.py
../sqlalchemy/dialects/mssql/base.py
../sqlalchemy/dialects/mssql/mxodbc.py
../sqlalchemy/dialects/mssql/zxjdbc.py
../sqlalchemy/dialects/mssql/adodbapi.py
../sqlalchemy/dialects/mssql/pymssql.py
../sqlalchemy/dialects/mssql/information_schema.py
../sqlalchemy/dialects/mssql/__init__.py
../sqlalchemy/dialects/oracle/cx_oracle.py
../sqlalchemy/dialects/oracle/base.py
../sqlalchemy/dialects/oracle/zxjdbc.py
../sqlalchemy/dialects/oracle/__init__.py
../sqlalchemy/dialects/postgresql/json.py
../sqlalchemy/dialects/postgresql/constraints.py
../sqlalchemy/dialects/postgresql/base.py
../sqlalchemy/dialects/postgresql/pypostgresql.py
../sqlalchemy/dialects/postgresql/psycopg2cffi.py
../sqlalchemy/dialects/postgresql/zxjdbc.py
../sqlalchemy/dialects/postgresql/pg8000.py
../sqlalchemy/dialects/postgresql/hstore.py
../sqlalchemy/dialects/postgresql/psycopg2.py
../sqlalchemy/dialects/postgresql/ranges.py
../sqlalchemy/dialects/postgresql/__init__.py
../sqlalchemy/dialects/sqlite/base.py
../sqlalchemy/dialects/sqlite/pysqlcipher.py
../sqlalchemy/dialects/sqlite/pysqlite.py
../sqlalchemy/dialects/sqlite/__init__.py
../sqlalchemy/dialects/sybase/pyodbc.py
../sqlalchemy/dialects/sybase/base.py
../sqlalchemy/dialects/sybase/mxodbc.py
../sqlalchemy/dialects/sybase/pysybase.py
../sqlalchemy/dialects/sybase/__init__.py
../sqlalchemy/dialects/mysql/mysqldb.py
../sqlalchemy/dialects/mysql/pyodbc.py
../sqlalchemy/dialects/mysql/oursql.py
../sqlalchemy/dialects/mysql/base.py
../sqlalchemy/dialects/mysql/zxjdbc.py
../sqlalchemy/dialects/mysql/gaerdbms.py
../sqlalchemy/dialects/mysql/pymysql.py
../sqlalchemy/dialects/mysql/cymysql.py
../sqlalchemy/dialects/mysql/mysqlconnector.py
../sqlalchemy/dialects/mysql/__init__.py
../sqlalchemy/ext/horizontal_shard.py
../sqlalchemy/ext/serializer.py
../sqlalchemy/ext/automap.py
../sqlalchemy/ext/instrumentation.py
../sqlalchemy/ext/baked.py
../sqlalchemy/ext/orderinglist.py
../sqlalchemy/ext/compiler.py
../sqlalchemy/ext/hybrid.py
../sqlalchemy/ext/associationproxy.py
../sqlalchemy/ext/__init__.py
../sqlalchemy/ext/mutable.py
../sqlalchemy/ext/declarative/api.py
../sqlalchemy/ext/declarative/base.py
../sqlalchemy/ext/declarative/clsregistry.py
../sqlalchemy/ext/declarative/__init__.py
../sqlalchemy/orm/sync.py
../sqlalchemy/orm/dynamic.py
../sqlalchemy/orm/attributes.py
../sqlalchemy/orm/persistence.py
../sqlalchemy/orm/instrumentation.py
../sqlalchemy/orm/scoping.py
../sqlalchemy/orm/session.py
../sqlalchemy/orm/dependency.py
../sqlalchemy/orm/base.py
../sqlalchemy/orm/strategy_options.py
../sqlalchemy/orm/properties.py
../sqlalchemy/orm/strategies.py
../sqlalchemy/orm/util.py
../sqlalchemy/orm/query.py
../sqlalchemy/orm/identity.py
../sqlalchemy/orm/descriptor_props.py
../sqlalchemy/orm/mapper.py
../sqlalchemy/orm/exc.py
../sqlalchemy/orm/loading.py
../sqlalchemy/orm/path_registry.py
../sqlalchemy/orm/interfaces.py
../sqlalchemy/orm/state.py
../sqlalchemy/orm/collections.py
../sqlalchemy/orm/deprecated_interfaces.py
../sqlalchemy/orm/__init__.py
../sqlalchemy/orm/events.py
../sqlalchemy/orm/unitofwork.py
../sqlalchemy/orm/evaluator.py
../sqlalchemy/orm/relationships.py
../sqlalchemy/databases/__init__.py
../sqlalchemy/inspection.pyc
../sqlalchemy/processors.pyc
../sqlalchemy/types.pyc
../sqlalchemy/pool.pyc
../sqlalchemy/schema.pyc
../sqlalchemy/exc.pyc
../sqlalchemy/interfaces.pyc
../sqlalchemy/log.pyc
../sqlalchemy/__init__.pyc
../sqlalchemy/events.pyc
../sqlalchemy/engine/base.pyc
../sqlalchemy/engine/strategies.pyc
../sqlalchemy/engine/util.pyc
../sqlalchemy/engine/result.pyc
../sqlalchemy/engine/default.pyc
../sqlalchemy/engine/interfaces.pyc
../sqlalchemy/engine/url.pyc
../sqlalchemy/engine/threadlocal.pyc
../sqlalchemy/engine/__init__.pyc
../sqlalchemy/engine/reflection.pyc
../sqlalchemy/util/_collections.pyc
../sqlalchemy/util/langhelpers.pyc
../sqlalchemy/util/topological.pyc
../sqlalchemy/util/compat.pyc
../sqlalchemy/util/queue.pyc
../sqlalchemy/util/__init__.pyc
../sqlalchemy/util/deprecations.pyc
../sqlalchemy/connectors/pyodbc.pyc
../sqlalchemy/connectors/mxodbc.pyc
../sqlalchemy/connectors/zxJDBC.pyc
../sqlalchemy/connectors/__init__.pyc
../sqlalchemy/event/api.pyc
../sqlalchemy/event/base.pyc
../sqlalchemy/event/legacy.pyc
../sqlalchemy/event/registry.pyc
../sqlalchemy/event/__init__.pyc
../sqlalchemy/event/attr.pyc
../sqlalchemy/testing/distutils_run.pyc
../sqlalchemy/testing/profiling.pyc
../sqlalchemy/testing/assertions.pyc
../sqlalchemy/testing/provision.pyc
../sqlalchemy/testing/engines.pyc
../sqlalchemy/testing/requirements.pyc
../sqlalchemy/testing/pickleable.pyc
../sqlalchemy/testing/util.pyc
../sqlalchemy/testing/exclusions.pyc
../sqlalchemy/testing/config.pyc
../sqlalchemy/testing/schema.pyc
../sqlalchemy/testing/assertsql.pyc
../sqlalchemy/testing/warnings.pyc
../sqlalchemy/testing/runner.pyc
../sqlalchemy/testing/mock.pyc
../sqlalchemy/testing/__init__.pyc
../sqlalchemy/testing/fixtures.pyc
../sqlalchemy/testing/entities.pyc
../sqlalchemy/testing/replay_fixture.pyc
../sqlalchemy/testing/plugin/bootstrap.pyc
../sqlalchemy/testing/plugin/plugin_base.pyc
../sqlalchemy/testing/plugin/pytestplugin.pyc
../sqlalchemy/testing/plugin/noseplugin.pyc
../sqlalchemy/testing/plugin/__init__.pyc
../sqlalchemy/testing/suite/test_insert.pyc
../sqlalchemy/testing/suite/test_sequence.pyc
../sqlalchemy/testing/suite/test_reflection.pyc
../sqlalchemy/testing/suite/test_types.pyc
../sqlalchemy/testing/suite/test_results.pyc
../sqlalchemy/testing/suite/test_ddl.pyc
../sqlalchemy/testing/suite/__init__.pyc
../sqlalchemy/testing/suite/test_update_delete.pyc
../sqlalchemy/testing/suite/test_select.pyc
../sqlalchemy/testing/suite/test_dialect.pyc
../sqlalchemy/sql/type_api.pyc
../sqlalchemy/sql/elements.pyc
../sqlalchemy/sql/visitors.pyc
../sqlalchemy/sql/annotation.pyc
../sqlalchemy/sql/base.pyc
../sqlalchemy/sql/util.pyc
../sqlalchemy/sql/naming.pyc