M MANIFEST.in +0 -1
@@ 1,2 1,1 @@
recursive-include app/diggie/templates/diggie *.html *.css
-recursive-include app/diggie/media/diggie/images *.svg *.png
No newline at end of file
M app/diggie/cmdline.py +2 -5
@@ 3,16 3,14 @@ from datetime import datetime
import glob
import optparse
import os
-from os.path import join, dirname, exists, isdir, splitext, basename
+from os.path import join, exists, isdir, splitext, basename
import re
import subprocess
-import shutil
import sys
from django.core.exceptions import ObjectDoesNotExist
from diggie.util import xpragmas
-from diggie import __file__ as diggiepath
# =============================================================================
# utils
@@ 165,8 163,7 @@ def init(opts):
_die("path already exists")
os.makedirs(join(opts.path, "media", "images"))
- os.symlink(join(dirname(diggiepath), "media", "diggie"),
- join(opts.path, "media", "diggie"))
+ os.makedirs(join(opts.path, "media", "math"))
LOCALSITE['settings.py'] = LOCALSITE['settings.py'] % opts.name
dizzie = join(opts.path, "dizzie")
M setup.py +1 -2
@@ 29,8 29,7 @@ setup(name='diggie',
url='http://bitbucket.org/obensonne/diggie',
packages=['diggie'],
package_dir={'': 'app'},
- package_data={'diggie': ['templates/diggie/*', 'media/diggie/images/*',
- 'templatetags/*.py']},
+ package_data={'diggie': ['templates/diggie/*', 'templatetags/*.py']},
scripts=["diggie"],
requires=["django(>=1.2)"],
)