From 4bac9453e2a65258c0b267058856706670af1562 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 7 Mar 2010 20:56:32 -0500 Subject: [PATCH] the mercurial extension seems to not work in py3k and also I don't like its usage during build/install. going with the manual approach for the moment. --- MANIFEST.in | 13 ++++++++++++- setup.py | 6 +++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index ec5cb7f6f0..14db767215 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,13 @@ -recursive-include doc *.html *.css *.txt *.js *.jpg +# any kind of "*" pulls in __init__.pyc files, +# so all extensions are explicit. + +recursive-include doc *.html *.css *.txt *.js *.jpg *.py Makefile *.rst *.mako *.sty +recursive-include examples *.py *.xml +recursive-include test *.py *.dat + +# include the c extensions, which otherwise +# don't come in if --with-cextensions isn't specified. +recursive-include lib/ *.c *.txt + +include README* LICENSE distribute_setup.py sa2to3.py ez_setup.py sqla_nose.py CHANGES* prune doc/build/output diff --git a/setup.py b/setup.py index 00327e120d..660d6ffb67 100644 --- a/setup.py +++ b/setup.py @@ -78,7 +78,11 @@ setup(name = "SQLAlchemy", packages = find_packages('lib'), package_dir = {'':'lib'}, license = "MIT License", - setup_requires=["setuptools_hg"], + + # TODO: this is nice, but Python 3 support ? + # any way to make it not install for build/install ? + #setup_requires=["setuptools_hg"], + tests_require = ['nose >= 0.11'], test_suite = "nose.collector", entry_points = { -- 2.47.3