Re: ANNOUNCE: notmuch-abook v1.6 [Was: Re: ANNOUNCE: nottoomuch-addresses.sh 2.3]

Subject: Re: ANNOUNCE: notmuch-abook v1.6 [Was: Re: ANNOUNCE: nottoomuch-addresses.sh 2.3]

Date: Thu, 18 Sep 2014 08:54:43 +0200

To: guyzmo

Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@plane.gmane.org

From: Rainer M Krug


guyzmo <guyzmo-kMjww5mZloE@public.gmane.org> writes:

> Hello there,
>
> On Wed, Sep 17, 2014 at 10:02:57PM +0300, Tomi Ollila wrote:
>> I'm pleased to announce new version of my caching address completer 
>> system for notmuch, version 2.3 (2014-09-17).
>
> I have also developed something similar a while ago, which has been
> greatly improved by the community:
>
>     https://github.com/guyzmo/notmuch-abook
>
> It's written in python, integrates nicely as a vim plugin, for the vim
> users around. It stores email addresses in a sqlite database, and the
> configuration lies in the `~/.notmuch-config`.
>
> It can be installed using `pip install notmuch_abook` (slap me if I
> forget to update the pipy package!).

I am trying this, but I am getting the following error (I am new to python!):

,----
| 08:51:59 ~/bin$ pip install notmuch_abook
| Downloading/unpacking notmuch-abook
|   Downloading notmuch_abook-v1.6.tar.gz
|   Running setup.py (path:/private/var/folders/50/wcr5bjwn75q595n6x82gxj280000gn/T/pip_build_rainerkrug/notmuch-abook/setup.py) egg_info for package notmuch-abook
| 
|     package init file 'pylibs/__init__.py' not found (or not a regular file)
| Requirement already satisfied (use --upgrade to upgrade): pysqlite in /usr/local/lib/python2.7/site-packages (from notmuch-abook)
| Requirement already satisfied (use --upgrade to upgrade): docopt in /usr/local/lib/python2.7/site-packages (from notmuch-abook)
| Installing collected packages: notmuch-abook
|   Running setup.py install for notmuch-abook
|     package init file 'pylibs/__init__.py' not found (or not a regular file)
| 
|     error: can't copy 'plugin/notmuch_abook.vim': doesn't exist or not a regular file
|     Complete output from command /usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/private/var/folders/50/wcr5bjwn75q595n6x82gxj280000gn/T/pip_build_rainerkrug/notmuch-abook/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/50/wcr5bjwn75q595n6x82gxj280000gn/T/pip-EwAEJ5-record/install-record.txt --single-version-externally-managed --compile:
|     running install
| 
| running build
| 
| running build_py
| 
| package init file 'pylibs/__init__.py' not found (or not a regular file)
| 
| creating build
| 
| creating build/lib
| 
| creating build/lib/notmuch_abook
| 
| copying pylibs/notmuch_abook.py -> build/lib/notmuch_abook
| 
| running egg_info
| 
| writing requirements to notmuch_abook.egg-info/requires.txt
| 
| writing notmuch_abook.egg-info/PKG-INFO
| 
| writing namespace_packages to notmuch_abook.egg-info/namespace_packages.txt
| 
| writing top-level names to notmuch_abook.egg-info/top_level.txt
| 
| writing dependency_links to notmuch_abook.egg-info/dependency_links.txt
| 
| writing entry points to notmuch_abook.egg-info/entry_points.txt
| 
| warning: manifest_maker: standard file '-c' not found
| 
| 
| 
| reading manifest file 'notmuch_abook.egg-info/SOURCES.txt'
| 
| writing manifest file 'notmuch_abook.egg-info/SOURCES.txt'
| 
| running install_lib
| 
| copying build/lib/notmuch_abook/notmuch_abook.py -> /usr/local/lib/python2.7/site-packages/notmuch_abook
| 
| byte-compiling /usr/local/lib/python2.7/site-packages/notmuch_abook/notmuch_abook.py to notmuch_abook.pyc
| 
| running install_data
| 
| error: can't copy 'plugin/notmuch_abook.vim': doesn't exist or not a regular file
| 
| ----------------------------------------
| Cleaning up...
| Command /usr/local/opt/python/bin/python2.7 -c "import setuptools, tokenize;__file__='/private/var/folders/50/wcr5bjwn75q595n6x82gxj280000gn/T/pip_build_rainerkrug/notmuch-abook/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/50/wcr5bjwn75q595n6x82gxj280000gn/T/pip-EwAEJ5-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /private/var/folders/50/wcr5bjwn75q595n6x82gxj280000gn/T/pip_build_rainerkrug/notmuch-abook
| Storing debug log for failure in /Users/rainerkrug/.pip/pip.log
| 08:52:22 ~/bin$
`----

I am using Python 2.7.8 on a Mac, installed via homebrew.

Any suggestions? 

>
> For the occasion, I'd like to thank a lot the contributors (github
> usernames): 
>
>  * foobacca,
>  * jkr,
>  * Tomas Tomecek,
>  * dme
>
> Of course, don't hesitate to troll^Wdiscuss about the pros and cons of
> both solutions, which may help improve both in the end!
>
> Cheers and a lots of thank to all notmuch contributors!

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982
part-000.sig (application/pgp-signature)

Thread: