By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,592 Members | 1,478 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,592 IT Pros & Developers. It's quick & easy.

Post easy_install hooks/message

P: n/a

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 :

include pysmell.vim

This means than when I do python 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 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

Many thanks,
Orestis Markou
Oct 27 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.