Closed GoogleCodeExporter closed 8 years ago
new docs are built using sphinx, you are right that you don't need it for
building/installing migrate itself.
If I find a way to hint the sphinx requirement without directly depending on
sphinx
at build time I'll fix this issue.
Original comment by jan.ditt...@gmail.com
on 10 Feb 2009 at 8:46
Original comment by jan.ditt...@gmail.com
on 10 Feb 2009 at 8:49
I wasn't sure if there was a way to recommend a package in setup.py, and after
looking I can't find anything. I took a look through some other projects;
SQLAlchemy,
Werkzeug, and Jinja2 (trees I happened to have had around) don't require Sphinx
despite using it for docs. As far as I can see they don't mention it anywhere
in the
tree outside of docs/, even in a README, although that is certainly reasonable.
Just FYI.
Original comment by therobot...@gmail.com
on 10 Feb 2009 at 7:14
Actually, there is a way:
http://peak.telecommunity.com/DevCenter/setuptools#declaring-extras-optional-fea
tures-with-their-own-dependencies
But the intent in that feature is for optional features that require extra
packages,
not for packages needed for development, so it doesn't line up exactly.
Original comment by therobot...@gmail.com
on 10 Feb 2009 at 7:18
I was able to track this myself and arrived here. This adds another issue when
installing with pip (which uses sdist), this means now sqlalchemy-migrate
requires a
compiler to build :)
I'm really not sure what "setup_requires" is for. But it seems to me this is
wrong.
nose should be a "test dependency" and sphinx not a dependency at all.
for test dependencies see how TG2 handles this, you can use the extra's pointed
out
at comment 4 or "force" people to use python setup.py test.
Original comment by jorge.vargas
on 13 Feb 2009 at 5:53
the bug is fixed in svn trunk
Original comment by jan.ditt...@gmail.com
on 13 Feb 2009 at 7:23
Thanks, Jan. I appreciate it.
Original comment by therobot...@gmail.com
on 13 Feb 2009 at 7:29
Original issue reported on code.google.com by
therobot...@gmail.com
on 9 Feb 2009 at 10:35