Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Buildout & develop-eggs troubles
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alessandro Dentella  
View profile  
 More options Mar 31 2012, 2:48 pm
From: Alessandro Dentella <san...@e-den.it>
Date: Sat, 31 Mar 2012 20:48:23 +0200
Local: Sat, Mar 31 2012 2:48 pm
Subject: [Distutils] Buildout & develop-eggs troubles

Hi,

I'm trying buildout but I'm having a hard time trying to understand the
logic of develop-egg.

I tested both mr.developer recepy and gp.csvdevelop and I stumbled on the
same problem, so I guess I'm misunderstanding something.

I want to add a development repository named jumbo-core that contains
several 1^ level packages (and a correct setup.py), one of which is 'jumbo',
I get to the point that:

  1. source is added to ./dev/jumbo-core

  2. an egg-link is added to develop-eggs/jumbo-core.egg-link pointing to
     the correct path where the hg repository is checked out, but that path
     is not added to the sys.path. My configuration is as follows::

      [buildout]
      develop = .
      parts = python scripts test ipython
      extensions = gp.vcsdevelop
      develop-dir = ./dev
      vcs-extend-develop = hg+${thunder:jumbonew}/jumbo-core#egg=jumbo-core

      [python]
      recipe = zc.recipe.egg
      interpreter = python
      eggs = lunar

Adding 'jumbo' to eggs directive raises the error: "Couldn't find index page
for 'jumbo' (maybe misspelled?)"

If I add dev/jumbo-core to develop option I get the message::

  Skipping 'hg+/misc/src/hg/thunder/jumbo-new/jumbo-core#egg=jumbo-core'. Package is already in the develop option

but dev/jumbo-core is not added to the sys.path.

Any hint is appreciated.

TIA
sandro
*:-)

--
Sandro Dentella  *:-)
http://www.reteisi.org             Soluzioni libere per le scuole
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy

_______________________________________________
Distutils-SIG maillist  -  Distutils-...@python.org
http://mail.python.org/mailman/listinfo/distutils-sig


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Fulton  
View profile  
 More options Mar 31 2012, 4:12 pm
From: Jim Fulton <j...@zope.com>
Date: Sat, 31 Mar 2012 16:12:10 -0400
Local: Sat, Mar 31 2012 4:12 pm
Subject: Re: [Distutils] Buildout & develop-eggs troubles

On Sat, Mar 31, 2012 at 2:48 PM, Alessandro Dentella <san...@e-den.it> wrote:

> Hi,

> I'm trying buildout but I'm having a hard time trying to understand the
> logic of develop-egg.

> I tested both mr.developer recepy and gp.csvdevelop and I stumbled on the
> same problem, so I guess I'm misunderstanding something.

> I want to add a development repository named jumbo-core that contains
> several 1^ level packages (and a correct setup.py), one of which is 'jumbo',
> I get to the point that:

I don't understand alot of what you said above, but hopefully, I can get by. :)

The develop option names a (or many) setup.py file.
You can also, as a common shortcut, name a directory
containing setup.py file.  The develop option invokes
the setup.py file to create a develop egg.

The setup.py file defines a product name.  From the
name of the egg link you mention, I'm guessing that
the setup.py file in the current directory ('.') sets the
project name to 'jumbo-core'.

The egg recipe builds a script based on a list
of requirements as listed in the eggs option.
(Yeah, 'requirements' would have been a better
name...)  The requirements are typically just
project names, although they can also contain
version specifications.

If, as I suspect, the project name is 'jumbo-core', rather
than 'jumbo', then you need to add jumbo-core to your
eggs option (on a separate line).

Jim

--
Jim Fulton
http://www.linkedin.com/in/jimfulton
_______________________________________________
Distutils-SIG maillist  -  Distutils-...@python.org
http://mail.python.org/mailman/listinfo/distutils-sig


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alessandro Dentella  
View profile  
 More options Apr 1 2012, 3:18 am
From: Alessandro Dentella <san...@e-den.it>
Date: Sun, 1 Apr 2012 09:18:54 +0200
Local: Sun, Apr 1 2012 3:18 am
Subject: Re: [Distutils] Buildout & develop-eggs troubles

Thanks Jim,

> If, as I suspect, the project name is 'jumbo-core', rather
> than 'jumbo', then you need to add jumbo-core to your
> eggs option (on a separate line).

this solves indeed my problem. I realize I could have understood it just
looking at others egg names (e.g. python-dateutils).

sandro
*:-)

PS: more questions in differente threads... ;-)

--
Sandro Dentella  *:-)
http://www.reteisi.org             Soluzioni libere per le scuole
http://sqlkit.argolinux.org        SQLkit home page - PyGTK/python/sqlalchemy

_______________________________________________
Distutils-SIG maillist  -  Distutils-...@python.org
http://mail.python.org/mailman/listinfo/distutils-sig


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »