diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-04-07 23:25:54 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-04-07 23:25:54 +1000 |
commit | 1b747cb5263996756217e2867659875c77c3d074 (patch) | |
tree | ee34476c5892edc0480637b98294921c937c9285 /setup.py | |
parent | c290900f17f9d057dad1f91cf1ff598856e2e6b3 (diff) | |
download | mediagoblin-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.py | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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 |