setup.py install does not install satchmo/projects/skeleton.
Here is a patch against v0.9 to resolve the issue. I'll also open up
a problem on bitbucket.
diff -r d61c71fefded scripts/clonesatchmo.py
--- a/scripts/clonesatchmo.py Sun Oct 25 15:09:06 2009 -0500
+++ b/scripts/clonesatchmo.py Mon Oct 26 19:16:43 2009 -0400
@@ -44,9 +44,10 @@
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
+# base_dir = satchmo_store.__path__[0]
+# src_dir = os.path.abspath(os.path.join(base_dir, '../../projects/
skeleton'))
+ src_dir = os.path.abspath(satchmo_skeleton.__path__[0])
dest_dir = os.path.join('./',site_name)
shutil.copytree(src_dir, dest_dir)
diff -r d61c71fefded setup.py
--- a/setup.py Sun Oct 25 15:09:06 2009 -0500
+++ b/setup.py Mon Oct 26 19:16:43 2009 -0400
@@ -18,6 +18,7 @@
version = __import__('satchmo_store').__version__
packages = find_packages('satchmo/apps')
packages.append('static')
+packages.append('satchmo_skeleton')
setup(name = "Satchmo",
version = version,
@@ -31,7 +32,8 @@
zip_safe = False,
package_dir = {
'' : 'satchmo/apps',
- 'static' : 'satchmo/static'
+ 'static' : 'satchmo/static',
+ 'satchmo_skeleton' : 'satchmo/projects/skeleton',
},
scripts=['scripts/clonesatchmo.py'],
setup_requires=["setuptools_hg"],
On Oct 21, 5:18 pm, Chris Moffitt <
ch...@moffitts.net> wrote:
> What does your site-packages directory look like?
>
> For some reason it's not finding the right path, I'd like to know what path
> is there.
>
> -Chris
>