Make another attempt at fixing packaging.
Review Request #7529 — Created July 17, 2015 and submitted
The prior attempt at fixing packaging appeared to work, but was due to
some stale generated files that ended up in an include path. This fixes
the packaging properly.
STATIC_ROOT
wasn't actually meshing well with the include path. The
include path now points to thestatic/
directory instead of
static/djblets/
, andSTATIC_ROOT
now expands to an empty string. This
allows an import like@{STATIC_ROOT}/djblets/
to matchdjblets/
within Djblets'sstatic/
directory.This also means that, while we can safely use
STATIC_ROOT
for imports,
we cannot use it for anything that will expand within the .css output
(such as image URLs).
Started from a completely fresh environment, and generated a suitable
package.
- Description:
-
The prior attempt at fixing packaging appeared to work, but was due to
some stale generated files that ended up in an include path. This fixes the packaging properly. STATIC_ROOT
wasn't actually meshing well with the include path. Theinclude path now points to the static/
directory instead ofstatic/djblets/
, andSTATIC_ROOT
now expands to an empty string. Thisallows an import like @{STATIC_ROOT}/djblets/
to matchdjblets/
within Djblets's static/
directory.This also means that, while we can safely use
STATIC_ROOT
for imports,~ we cnanot use it for anything that will expand within the .css output ~ we cannot use it for anything that will expand within the .css output (such as image URLs).