aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-04-07 23:25:54 +1000
committerBen Sturmfels <ben@sturm.com.au>2021-04-07 23:25:54 +1000
commit1b747cb5263996756217e2867659875c77c3d074 (patch)
treeee34476c5892edc0480637b98294921c937c9285 /setup.py
parentc290900f17f9d057dad1f91cf1ff598856e2e6b3 (diff)
downloadmediagoblin-1b747cb5263996756217e2867659875c77c3d074.tar.lz
mediagoblin-1b747cb5263996756217e2867659875c77c3d074.tar.xz
mediagoblin-1b747cb5263996756217e2867659875c77c3d074.zip
Include static assets in setuptools package.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py11
1 files changed, 8 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index 33cc8ddd..1f8d7870 100644
--- a/setup.py
+++ b/setup.py
@@ -132,9 +132,14 @@ try:
'Programming Language :: Python :: 3.4',
"Topic :: Internet :: WWW/HTTP :: Dynamic Content"
],
- # Running gmg dbupdate fails with missing env.py because env.py isn't
- # being included in the Python package (no __init__.py).
- data_files=[('mediagoblin', ['mediagoblin/db/migrations/env.py'])],
+ data_files=[('mediagoblin', [
+ # Running gmg dbupdate fails with missing env.py because env.py isn't
+ # being included in the Python package (no __init__.py).
+ 'mediagoblin/db/migrations/env.py',
+
+ # Static assets were missing in Guix package.
+ 'mediagoblin/static',
+ ])],
)
except TypeError as e:
import sys