Python snaps

Barry Warsaw barry at ubuntu.com
Fri Apr 3 18:52:14 UTC 2015


Hi Dustin.  Really glad you're giving it a try.  More examples will no doubt
expose areas for improvement.

On Apr 03, 2015, at 01:32 PM, Dustin Kirkland wrote:

>$ ./snap.py ssh-import-id/ssh-import-id.ini
>Cloning into 'upstream'...
>remote: Counting objects: 780, done.
>remote: Total 780 (delta 0), reused 0 (delta 0), pack-reused 780
>Receiving objects: 100% (780/780), 327.37 KiB | 0 bytes/s, done.
>Resolving deltas: 100% (559/559), done.
>Checking connectivity... done.
>Traceback (most recent call last):
>  File "setup.py", line 19, in <module>
>    from setuptools import setup
>ImportError: No module named 'setuptools'
>Traceback (most recent call last):
>  File "./snap.py", line 288, in <module>
>    sys.exit(main())
>  File "./snap.py", line 278, in main
>    package = GitPackage(name, url, dirs)
>  File "./snap.py", line 205, in __init__
>    shell=True)
>  File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
>    raise CalledProcessError(retcode, cmd)
>subprocess.CalledProcessError: Command 'python3 setup.py bdist_wheel
>--universal' returned non-zero exit status 1

Do you have the python3-wheel pacakge installed?

You can test this at the shell by cd'ing into your git repo and doing:

$ python3 setup.py bdist_wheel --universal

That subcommand is only available once python3-wheel is installed.

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20150403/067348fc/attachment.pgp>


More information about the snappy-devel mailing list