[TIP] Issue with larger project with subprojects; how to deal with dependencies?

Jonas Thiem jonasthiem at googlemail.com
Thu Aug 28 03:09:12 PDT 2014


we got an issue with our project which is made of various subprojects,
all of them in theory usable on their own with their own tox.ini and
"tox" command, but in practise combined in one large repo and with
some dependencies between them.

The problem is, many of these subprojects simply won't work with a
simple "tox" command unless a custom package index is in place, or
sitepackages=True is set (which we don't want to do) with the
dependencies installed into the system.

That is unfortunate, since the entire point of just being able to type
"tox" is that it just works for everyone for simple testing.

**More details**:

I would be happy for some responses and discussions and possibly some
final advise on what to do, or maybe even an update to tox to allow
relative path dependency fetches from other tox.ini-equipped folders.
(see Stackoverflow link for details on why we think this would be a
useful solution)

Jonas Thiem

More information about the testing-in-python mailing list