mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-15 13:17:24 -04:00
98eae4e181
our decorator thing generates code in any case, so point it at the file itself to generate real code for the blocks rather than doing things dynamically. this will allow typing tools to have no problem whatsoever and we also reduce import time overhead. file size will be a lot bigger though, shrugs. syntax / dupe method / etc. checking will be accomplished by our existing linting / typing / formatting tools. As we are also using "from __future__ import annotations", we also no longer have to apply quotes to generated annotations. Change-Id: I20962cb65bda63ff0fb67357ab346e9b1ef4f108
20 lines
700 B
Plaintext
20 lines
700 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/cyextension/*.c
|
|
exclude lib/sqlalchemy/cyextension/*.so
|
|
|
|
# include the pyx and pxd extensions, which otherwise
|
|
# don't come in if --with-cextensions isn't specified.
|
|
recursive-include lib *.pyx *.pxd *.txt *.typed
|
|
|
|
include README* AUTHORS LICENSE CHANGES* tox.ini
|
|
prune doc/build/output
|