[Distutils] Seems to work except it won't import
Phillip J. Eby
pje at telecommunity.com
Wed Nov 19 04:47:52 CET 2008
Your __init__.py and domstripper.py need to be moved into a
subdirectory named domstripper.
At 11:27 PM 11/18/2008 +0000, Peter Bengtsson wrote:
>Sorry about the vague subject but I'm not sure how to phrase my problem.
>First of all I'm a setuptools beginner and I'm not sure what I'm doing.
>I've created a basic package with paster and filled in the blanks. Now
>python setup.py test works and runs the two little tests it has.
>I might have "pressed one too many buttons" when I ran setup.py which
>might be why it doesn't work.
>It's available on http://pypi.python.org/pypi/domstripper/
>But when I do this:
>(my_virtualenv)$ easy_install domstripper
>(my_virtualenv)$ ls lib/python2.5/site-packages/
>it installs fine as far as I can see but here's the problem::
> (my_virtualenv) $ python
> >>> import lxml # just to test that something worked
> >>> import domstripper
>Grateful for advice.
More information about the Distutils-SIG