← Back to team overview

openstack team mailing list archive

Re: Glance client release?

 

Sorry guys - I kind of missed this thread.

I'm extremely against having two setup.py's in a single repo, mainly
because it makes a ton of other stuff way harder. I think that either:


a) The projects should live in their own source code repos and therefore
have completely separate PyPI uploads and lifecycles (and appropriate
depends)

or

b) They are the same project and pip just installs the whole thing for you.

pip doesn't really grok the idea of multiple packages - because it's not
really a package management system. From the deb package perspective,
obviously, this is a piece of cake. (and I do agree that we should get
the python-glance depends sorted for that) But from a pip perspective, I
think that organizationally we need to decide if these are separate
python libs that consume one another or the same project. (and I believe
I heard python-novaclient is being sucked in to nova, so the precedent
seems to be that we don't care for client lib projects having different
lifecycles)

All of that being said - I'd love to sort out the pip depends issues
you're having between glance and dashboard ... as it _does_ seem like
something that should be able to be co-installable. Perhaps we should
sit down this week and sort it out?

Monty

On 09/28/2011 03:50 PM, Devin Carlen wrote:
> The old ec2 based admin client for nova was in a separate repo.  It's a bit tricky with pypi to do multiple distributions if you have a top level setup.py.  
> 
> There is a cleaner way to do it but it requires restructuring the top level structure a bit.
> 
> Something like:
> 
> server/
>     glance/
>     glance/client/
>     ...
>     setup.py
> 
> client/
>     setup.py
> 
> 
> So client only contains the setup.py to push the client, and server (or whatever) contains all the actual bits.  
> 
> I'm not a total wizard with pypi and setup.py, so maybe there's a less painful way to do this?
> 
> Devin
> 
> 
> 
> On Sep 28, 2011, at 11:56 AM, Jesse Andrews wrote:
> 
>> I know Sandy Walsh did novaclient and Devin Carlen did (the
>> deprecated) adminclient for nova.
>>
>> They might be able to pitch in and help (irc?)
>>
>> On Wed, Sep 28, 2011 at 8:26 AM, Jay Pipes <jaypipes@xxxxxxxxx> wrote:
>>> We should be able to do that, yes. I have to figure out how to do it,
>>> but I will create a bug for it in Launchpad and track progress.
>>>
>>> Cheers,
>>> jay
>>>
>>> On Wed, Sep 28, 2011 at 11:05 AM, Huang Zhiteng <winston.d@xxxxxxxxx> wrote:
>>>> I am also looking forward to python-glance being available on PyPI.  Will it
>>>> be released with Diablo?
>>>>
>>>> On Sat, Sep 24, 2011 at 3:02 AM, Jay Pipes <jaypipes@xxxxxxxxx> wrote:
>>>>>
>>>>> On Fri, Sep 23, 2011 at 2:51 PM, Devin Carlen <devin.carlen@xxxxxxxxx>
>>>>> wrote:
>>>>>> Awesome, thanks!  Any plans to have the client available on PyPI?  Makes
>>>>>> testing a lot easier.
>>>>>
>>>>> Yup!
>>>>>
>>>>> -jay
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list: https://launchpad.net/~openstack
>>>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>>>> Unsubscribe : https://launchpad.net/~openstack
>>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>>
>>>> --
>>>> Regards
>>>> Huang Zhiteng
>>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~openstack
>>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~openstack
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
> 


Follow ups

References