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
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