спасибо….
а нормально что сетаптулс только для 2,5 версии а у меня 3,01
C:\python\pydelicious>setup.py install
C:\python\pydelicious\src\__init__.py:27: DeprecationWarning: the md5 module is
deprecated; use hashlib instead
import md5
Feedparser not available, no RSS parsing.
running install
running bdist_egg
running egg_info
writing requirements to pydelicious.egg-info\requires.txt
writing pydelicious.egg-info\PKG-INFO
writing top-level names to pydelicious.egg-info\top_level.txt
writing dependency_links to pydelicious.egg-info\dependency_links.txt
Traceback (most recent call last):
File "C:\python\pydelicious\setup.py", line 54, in <module>
'test': Test,
File "c:\Python26\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "c:\Python26\lib\distutils\dist.py", line 975, in run_commands
self.run_command(cmd)
File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "c:\Python26\egg\Lib\site-packages\setuptools-0.6c9-py2.6.egg\setuptools\
command\install.py", line 76, in run
File "c:\Python26\egg\Lib\site-packages\setuptools-0.6c9-py2.6.egg\setuptools\
command\install.py", line 96, in do_egg_install
File "c:\Python26\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "c:\Python26\egg\Lib\site-packages\setuptools-0.6c9-py2.6.egg\setuptools\
command\bdist_egg.py", line 167, in run
File "c:\Python26\lib\distutils\cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "c:\Python26\lib\distutils\dist.py", line 995, in run_command
cmd_obj.run()
File "c:\Python26\egg\Lib\site-packages\setuptools-0.6c9-py2.6.egg\setuptools\
command\egg_info.py", line 177, in run
File "c:\Python26\egg\Lib\site-packages\setuptools-0.6c9-py2.6.egg\setuptools\
command\egg_info.py", line 252, in find_sources
File "c:\Python26\egg\Lib\site-packages\setuptools-0.6c9-py2.6.egg\setuptools\
command\egg_info.py", line 306, in run
File "c:\Python26\egg\Lib\site-packages\setuptools-0.6c9-py2.6.egg\setuptools\
command\egg_info.py", line 330, in add_defaults
File "c:\Python26\lib\distutils\command\sdist.py", line 296, in add_defaults
build_py = self.get_finalized_command('build_py')
File "c:\Python26\lib\distutils\cmd.py", line 319, in get_finalized_command
cmd_obj.ensure_finalized()
File "c:\Python26\lib\distutils\cmd.py", line 117, in ensure_finalized
self.finalize_options()
File "c:\Python26\egg\Lib\site-packages\setuptools-0.6c9-py2.6.egg\setuptools\
command\build_py.py", line 16, in finalize_options
File "c:\Python26\lib\distutils\command\build_py.py", line 59, in finalize_opt
ions
self.package_dir[name] = convert_path(path)
File "c:\Python26\lib\distutils\util.py", line 166, in convert_path
raise ValueError, "path '%s' cannot end with '/'" % pathname
ValueError: path 'src/' cannot end with '/'
C:\python\pydelicious>
If you get the message “No module named BeautifulSoup”, but you know Beautiful Soup is installed, you're probably using the Beautiful Soup 4 beta. Use this code instead:
from bs4 import BeautifulSoup # To get everything