Commits

Chris Moffitt committed a0e07cf

Fixing issues with deployment packaging. Closes #942 and relates to part of #938.
Will need to re-tag 0.9

Comments (0)

Files changed (3)

-recursive-include satchmo/apps *.po *.mo
-include docs/*
+recursive-include satchmo/apps *.po *.mo *.html *.txt *.rml *.xml *.yaml
+recursive-include satchmo/apps/l10n/bin *
+recursive-include satchmo/static *
+recursive-include docs *
+
 include AUTHORS CONTRIBUTORS LICENSE CHANGELOG
 include setup.cfg

scripts/clonesatchmo.py

     os.system('pip install %s' % pil_requirements)
     
 def create_satchmo_site(site_name):
-    import satchmo_store
-    base_dir = satchmo_store.__path__[0]
-    src_dir = os.path.abspath(os.path.join(base_dir, '../../projects/skeleton'))
+    import satchmo_skeleton
+    src_dir = os.path.abspath(satchmo_skeleton.__path__[0])
     dest_dir = os.path.join('./',site_name)
     shutil.copytree(src_dir, dest_dir)
 
 version = __import__('satchmo_store').__version__
 packages = find_packages('satchmo/apps')
 packages.append('static')
+packages.append('docs')
+packages.append('satchmo_skeleton')
 
 setup(name = "Satchmo",
       version = version,
       zip_safe = False,
       package_dir = {
       '' : 'satchmo/apps',
-      'static' : 'satchmo/static'
+      'static' : 'satchmo/static',
+      'docs' : 'docs',
+      'satchmo_skeleton' : 'satchmo/projects/skeleton',
       },
       scripts=['scripts/clonesatchmo.py'],
       setup_requires=["setuptools_hg"],