django-sendfile icon indicating copy to clipboard operation
django-sendfile copied to clipboard

Py3, django 1.7 for example app, wheel support, tox

Open NotSqrt opened this issue 11 years ago • 3 comments

Running the test is as simple as:

tox

If you want to run them manually:

cd examples/protected_downloads
python manage.py test sendfile

Tests work for django 1.4 -> 1.7, and python 2.6, 2.7, 3.2, 3.3, 3.4. Dropped support for django 1.3, minimal django is now 1.4.2, because it is the minimal version that is effectively compatible with python 3.

Let me know what you think of this !

NotSqrt avatar Oct 29 '14 18:10 NotSqrt

cf #25

NotSqrt avatar Oct 29 '14 18:10 NotSqrt

Sorry for not having looked at this. I might eventually get to this, but my capacity is pretty low ATM. Lots of client work, plus small children...

Anyway, I've never used tox before - I might need a little guidance...

johnsensible avatar Jan 19 '15 11:01 johnsensible

The config is done, so nothing to do here, except adding new settings when django 1.8 arrives.

All you need to do is installing tox, and execute tox. It will create multiple venv with the proper dependencies, and run tests for all combinations: django 1.5/1.6/1.7 on python 2.7 and on py3.3, etc.

Very useful for checking the compatibility of the module.

NotSqrt avatar Jan 19 '15 12:01 NotSqrt