mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-django-compressor: Include package data.
It's a follow up of commit 0879cb6f66
.
* gnu/packages/django.scm (python-django-compressor):
[phases]{add-missing-init-files}: Adjust setup.py to include package
data files.
Change-Id: Ic6d8380ec07a01badabaf596888ba0455ff416f8
This commit is contained in:
parent
b276cf2f97
commit
d5fc8668f4
1 changed files with 2 additions and 0 deletions
|
@ -1470,6 +1470,8 @@ forms using your favorite CSS framework, without writing template code.")
|
|||
;; TODO: Report upstream.
|
||||
(add-after 'unpack 'add-missing-init-files
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("package_data=.*,") "include_package_data=True,"))
|
||||
(call-with-output-file "compressor/templates/__init__.py"
|
||||
(const #t))
|
||||
(call-with-output-file "compressor/templates/compressor/__init__.py"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue