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 <[email protected]> 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
>
> On Wed, Oct 21, 2009 at 1:44 PM, kevin <[email protected]> wrote:
>
> > I get this error using the clonesatchmo.py program:
>
> > OSError: [Errno 2] No such file or directory: '/opt/local/Library/
> > Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/
> > projects/skeleton'
>
> > do I need to install this as an editable package?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---