Skip to content

Instantly share code, notes, and snippets.

@chvanikoff
Created June 26, 2016 00:10
Show Gist options
  • Save chvanikoff/182a2c6e1510b454dd8073c16fbb77e7 to your computer and use it in GitHub Desktop.
Save chvanikoff/182a2c6e1510b454dd8073c16fbb77e7 to your computer and use it in GitHub Desktop.
% sudo pypi-install diamond ~ Ubuntu-1604-xenial-64-minimal
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
running the following command in directory: deb_dist/tmp_py2dsc/diamond-4.0.451
/usr/bin/python setup.py --command-packages stdeb.command sdist_dsc --dist-dir=/tmp/tmpe7kyUb/deb_dist --use-premade-distfile=/tmp/tmpe7kyUb/diamond-4.0.451.tar.gz bdist_deb
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running sdist_dsc
Traceback (most recent call last):
File "setup.py", line 147, in <module>
** setup_kwargs
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/dist-packages/stdeb/command/sdist_dsc.py", line 123, in run
raise RuntimeError('original source dist cannot '
RuntimeError: original source dist cannot contain .pyc files
ERROR running: /usr/bin/python setup.py --command-packages stdeb.command sdist_dsc --dist-dir=/tmp/tmpe7kyUb/deb_dist --use-premade-distfile=/tmp/tmpe7kyUb/diamond-4.0.451.tar.gz bdist_deb
ERROR in deb_dist/tmp_py2dsc/diamond-4.0.451
Traceback (most recent call last):
File "/usr/bin/pypi-install", line 67, in <module>
main()
File "/usr/bin/pypi-install", line 53, in main
subprocess.check_call(cmd, shell=True)
File "/usr/lib/python2.7/subprocess.py", line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'py2dsc-deb diamond-4.0.451.tar.gz' returned non-zero exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment