It now works with pip 1.3.

On Tuesday, January 22, 2013 8:54:32 AM UTC+4, Michel Alexandre Salim wrote:
>
> Hi Christian,
>
> Thanks, that clears up the issue. There were similar problems with PyObjc, 
> but Pip ended up getting patch for that a few months ago. Will look at 
> using easy_install, or stick with django_tables2 since the only feature I 
> need at the moment is the datagrid.
>
> Thanks,
>
> -- 
> Michel
>
> On Tuesday, January 22, 2013 9:11:18 AM UTC+7, Christian Hammond wrote:
>>
>> Hi Michel,
>>
>> We do not support pip. Pip, while popular, is incomplete and doesn't 
>> support a critical feature, Python Entrypoints, which we require for all 
>> extensions, authentication backends, and repository backends. You'll have 
>> to use easy_install with Review Board and our dependencies.
>>
>> Christian
>>
>> -- 
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> VMware, Inc. - http://www.vmware.com
>>
>>
>> On Mon, Jan 21, 2013 at 5:42 PM, Michel Alexandre Salim <
>> michael....@gmail.com> wrote:
>>
>>> Hello,
>>>
>>>
>>> On Wednesday, January 25, 2012 6:33:11 PM UTC+7, Bart Celary wrote:
>>>>
>>>> Hi, 
>>>> I have tried to 'pip install' the latest git snapshot of the 
>>>> Reviewboard. I am working in a clean virtualenv (setuptools/pip only). 
>>>> It failed with an error: 
>>>>
>>>
>>>  Is there any progress on this report? One year later, I'm encountering 
>>> the same problem trying to install djblets 0.7.8 (the latest available 
>>> version) in virtualenv.
>>>
>>> Thanks,
>>>
>>> -- 
>>> Michel Alexandre Salim
>>>
>>>
>>>> pip install -e /data/Work/Development/**reviewboard 
>>>> Obtaining file:///data/Work/Development/**reviewboard 
>>>>   Running setup.py egg_info for package from 
>>>> file:///data/Work/Development/**reviewboard 
>>>>     Traceback (most recent call last): 
>>>>       File "<string>", line 14, in <module> 
>>>>       File "/data/Work/Development/**reviewboard/setup.py", line 169, 
>>>> in 
>>>> <module> 
>>>>         "Topic :: Software Development :: Quality Assurance", 
>>>>       File "/usr/lib/python2.7/distutils/**core.py", line 152, in 
>>>> setup 
>>>>         dist.run_commands() 
>>>>       File "/usr/lib/python2.7/distutils/**dist.py", line 953, in 
>>>> run_commands 
>>>>         self.run_command(cmd) 
>>>>       File "/usr/lib/python2.7/distutils/**dist.py", line 972, in 
>>>> run_command 
>>>>         cmd_obj.run() 
>>>>       File "/data/Work/Development/**reviewboard/setup.py", line 65, 
>>>> in 
>>>> run 
>>>>         egg_info.run(self) 
>>>>       File "<string>", line 7, in replacement_run 
>>>>     AttributeError: class egg_info has no attribute 
>>>> 'iter_entry_points' 
>>>>     Complete output from command python setup.py egg_info: 
>>>>     running egg_info 
>>>>
>>>> creating ReviewBoard.egg-info 
>>>>
>>>> Traceback (most recent call last): 
>>>>   File "<string>", line 14, in <module> 
>>>>   File "/data/Work/Development/**reviewboard/setup.py", line 169, in 
>>>> <module> 
>>>>     "Topic :: Software Development :: Quality Assurance", 
>>>>   File "/usr/lib/python2.7/distutils/**core.py", line 152, in setup 
>>>>     dist.run_commands() 
>>>>   File "/usr/lib/python2.7/distutils/**dist.py", line 953, in 
>>>> run_commands 
>>>>     self.run_command(cmd) 
>>>>   File "/usr/lib/python2.7/distutils/**dist.py", line 972, in 
>>>> run_command 
>>>>     cmd_obj.run() 
>>>>   File "/data/Work/Development/**reviewboard/setup.py", line 65, in 
>>>> run 
>>>>     egg_info.run(self) 
>>>>   File "<string>", line 7, in replacement_run 
>>>> AttributeError: class egg_info has no attribute 'iter_entry_points' 
>>>> ------------------------------**---------- 
>>>> Command python setup.py egg_info failed with error code 1 
>>>>
>>>>
>>>> Looks like commit be1dac2d made that change. Following patch fixed it 
>>>> for me. 
>>>>
>>>> ----8<----8<----8<---- 
>>>> diff --git a/setup.py b/setup.py 
>>>> index 7e572cd..7732aa9 100755 
>>>> --- a/setup.py 
>>>> +++ b/setup.py 
>>>> @@ -13,7 +13,7 @@ from ez_setup import use_setuptools 
>>>>  use_setuptools() 
>>>>
>>>>  from setuptools import setup, find_packages 
>>>> -from setuptools.command.egg_info import egg_info 
>>>> +from setuptools.command import egg_info 
>>>>  from distutils.command.install_data import install_data 
>>>>  from distutils.command.install import INSTALL_SCHEMES 
>>>>  from distutils.core import Command 
>>>> @@ -51,7 +51,7 @@ class osx_install_data(install_data)**: 
>>>>          install_data.finalize_**options(self) 
>>>>
>>>>
>>>> -class BuildEggInfo(egg_info): 
>>>> +class BuildEggInfo(egg_info.egg_**info): 
>>>>      def run(self): 
>>>>          # Conditionally build the media files if there's a 
>>>> settings_local 
>>>>          # file. If there isn't one, we assume this is a new dev tree, 
>>>> in which 
>>>> @@ -62,7 +62,7 @@ class BuildEggInfo(egg_info): 
>>>>          if os.path.exists('settings_**local.py'): 
>>>>              self.run_command('build_**media') 
>>>>
>>>> -        egg_info.run(self) 
>>>> +        egg_info.egg_info.run(self) 
>>>>
>>>>
>>>>  class BuildMedia(Command): 
>>>> ----8<----8<----8<---- 
>>>>
>>>> Bartek
>>>
>>>  -- 
>>> Want to help the Review Board project? Donate today at 
>>> http://www.reviewboard.org/donate/
>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>> -~----------~----~----~----~------~----~------~--~---
>>> To unsubscribe from this group, send email to 
>>> reviewboard...@googlegroups.com
>>> For more options, visit this group at 
>>> http://groups.google.com/group/reviewboard?hl=en
>>>  
>>>  
>>>
>>
>>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to