Apparently, there is some lack of documentation, because running "apt-file update" *is* required (this applies to py2dsc, too).
However, after "apt-file update" another error comes out, with message
E: You must put some 'source' URIs in your sources.list
Complete traceback below.
Ciao,
steko
st...@gibreel:~$ LC_ALL=C pypi-install mercurial_keyring
running sdist_dsc
running egg_info
writing requirements to mercurial_keyring.egg-info/requires.txt
writing mercurial_keyring.egg-info/PKG-INFO
writing top-level names to mercurial_keyring.egg-info/top_level.txt
writing dependency_links to mercurial_keyring.egg-info/dependency_links.txt
reading manifest file 'mercurial_keyring.egg-info/SOURCES.txt'
writing manifest file 'mercurial_keyring.egg-info/SOURCES.txt'
I found a Debian package which provides the require Python package. Python
package: "keyring", Debian package: "python-keyring"; adding Depends
specifications for the following version(s): "[]"
E: You must put some 'source' URIs in your sources.list
ERROR running: apt-cache showsrc python-mercurialkeyring
Traceback (most recent call last):
File "setup.py", line 35, in <module>
zip_safe = True,
File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "/usr/lib/pymodules/python2.5/stdeb/command/sdist_dsc.py", line 222, in
run
sdist_dsc_command = self,
File "/usr/lib/pymodules/python2.5/stdeb/util.py", line 853, in __init__
for version_info in apt_cache_info('showsrc',self.package):
File "/usr/lib/pymodules/python2.5/stdeb/util.py", line 530, in apt_cache_info
args))
RuntimeError: returncode 100 from subprocess ['apt-cache', 'showsrc',
'python-mercurialkeyring']
Traceback (most recent call last):
File "/usr/bin/pypi-install", line 142, in <module>
main()
File "/usr/bin/pypi-install", line 128, in main
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python2.5/subprocess.py", line 462, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/usr/bin/python setup.py
--command-packages=stdeb.command sdist_dsc
--guess-conflicts-provides-replaces=True bdist_deb' returned non-zero exit
status 1
--
Stefano Costa
http://www.iosa.it/ Open Archaeology
signature.asc
Description: This is a digitally signed message part

