mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-06-28 11:34:14 -04:00
0be89aaa38
Replaces the pyx files with py files that can be both compiled by cython or imported as is by python. This avoids the need of duplicating the code to have a python only fallback. The cython files are also reorganized to be in the module they use instead of all being in the cyextension package, that has been removed. The performance is pretty much equal between main and this change. A detailed comparison is at this link https://docs.google.com/spreadsheets/d/1jkmGpnCyEcPyy6aRK9alElGjxlNHu44Wxjr4VrD99so/edit?usp=sharing Change-Id: Iaed232ea5dfb41534cc9f58f6ea2f912a93263af
20 lines
668 B
Plaintext
20 lines
668 B
Plaintext
# any kind of "*" pulls in __init__.pyc files,
|
|
# so all extensions are explicit.
|
|
|
|
recursive-include doc *.html *.css *.txt *.js *.png *.py Makefile *.rst *.sty
|
|
recursive-include examples *.py *.xml
|
|
recursive-include test *.py *.dat *.testpatch
|
|
recursive-include tools *.py
|
|
|
|
# for some reason in some environments stale Cython .c files
|
|
# are being pulled in, these should never be in a dist
|
|
exclude lib/sqlalchemy/**/*.c
|
|
exclude lib/sqlalchemy/**/*.so
|
|
|
|
# include the pxd extensions, which otherwise
|
|
# don't come in if --with-cextensions isn't specified.
|
|
recursive-include lib *.pxd *.txt *.typed
|
|
|
|
include README* AUTHORS LICENSE CHANGES* tox.ini
|
|
prune doc/build/output
|