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
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
--
or*****@orestis.gr
http://orestis.gr
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.