-
-
contrib/internal/build-media.py (Diff revision 1) Can you put the dependency info in some central place (such as
reviewboard/__init__.py
) and import it from both here and setup.py? I really don't want to introduce multiple places that we have to remember to change when we bump versions.
Support building media with parallel-installed Django
Review Request #5690 — Created April 9, 2014 and submitted
On systems such as Fedora where older versions of Django are
installed as alternative versions (and not directly importable),
we need to ensure that we are importing exactly the right version
of the Django modules.This patch adds a new variable in the reviewboard __init__.py that is
imported by both setup.py and build-media.py to ensure that they
are both relying on the same version of Django.
Built successfully on Fedora.
Change Summary:
Addresses the earlier review comment and stores the version in a single place
Summary: |
|
|||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
|||||||||||||||||||||||||||||||||||||||
Commit: |
|
|||||||||||||||||||||||||||||||||||||||
Diff: |
Revision 2 (+27 -5) |
-
-
dependencies.py (Diff revision 2) Instead of adding a new top-level file just for this, I think I'd rather it be another entry in
reviewboard/__init__.py
Description: |
|
||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Commit: |
|
||||||||||||||||||||||||||||||||||||||||||
Diff: |
Revision 3 (+18 -6) |