Post easy_install hooks/message

O

Orestis Markou

Hello,

I've finally uploaded PySmell [1] to PyPI [2], thanks to a fantastic
contributor which did all the work for me. As I've written in a blog
post [3], I have some trouble distributing some support files,
notably, a vim script.

I am currently using these directives:

data_files = [
('vim', ['pysmell.vim'])
],
include_package_data = True,

and in MANIFEST.in :

include pysmell.vim

This means than when I do python setup.py sdist, I get the pysmell.vim
file, but when the egg is created by easy_install, a vim folder with
the vim script is put inside it. I want to be able to at least prompt
the user with a message saying

To complete installation, do
"cp /path/to/the/pysmell.vim ~/.vim/plugin"

Or something like that. What is the best way to do this? Right now my
instructions read: "Download the sdist and do python setup.py install,
then copy pysmell.vim where it needs to live.". Being able to replace
that with "easy_install pysmell and follow the instructions would be
great".

[1] http://code.google.com/p/pysmell
[2] http://pypi.python.org/pypi/pysmell
[3] http://orestis.gr/blog/2008/10/26/trouble-setuptools/


Many thanks,
Orestis Markou
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,967
Messages
2,570,148
Members
46,694
Latest member
LetaCadwal

Latest Threads

Top