On 24.10.13 16:31, Roman Lacko wrote:
Hi Robert,
2013/10/24 Robert Schilling <[email protected]
<mailto:[email protected]>>
Hi,
How to create the wheel packages for python which are provided at
http://download.qt-project.org/official_releases/pyside/
install the wheel package:
$ pip install wheel
then you can build the wheel via:
$ python setup.py bdist_wheel ...
I use the following command on my windows system to build the wheel
distribution:
$ c:\Python27\python.exe setup.py bdist_wheel
--qmake=c:\Qt\qt-4.8.5-msvc2008-x32\bin\qmake.exe
--openssl=c:\Libs\OpenSSL32bit\bin
Without further investigation, just to mention:
I tried something similar on OS X 10.9 with the latest version of
pyside-setup
and my newly created stackless build:
$ ~/src/slptest/qtslp27/bin/python setup.py bdist_wheel
--plat-name=macosx-10.8-x86_64_slp
With bdist_egg it all works fine on 10.9.
But bdist_wheel ends with:
...
running install_scripts
creating build/bdist.macosx-10.8-x86_64/wheel/PySide-1.3.0dev.data
creating build/bdist.macosx-10.8-x86_64/wheel/PySide-1.3.0dev.data/scripts
copying build/scripts-2.7/pyside_postinstall.py ->
build/bdist.macosx-10.8-x86_64/wheel/PySide-1.3.0dev.data/scripts
changing mode of
build/bdist.macosx-10.8-x86_64/wheel/PySide-1.3.0dev.data/scripts/pyside_postinstall.py
to 755
Installing pyside-uic script to
build/bdist.macosx-10.8-x86_64/wheel/PySide-1.3.0dev.data/scripts
Traceback (most recent call last):
File "setup.py", line 966, in <module>
ext_package = 'PySide',
File "/Users/tismer/src/slptest/lib/python2.7/distutils/core.py", line 152,
in setup
dist.run_commands()
File "/Users/tismer/src/slptest/lib/python2.7/distutils/dist.py", line 953,
in run_commands
self.run_command(cmd)
File "/Users/tismer/src/slptest/lib/python2.7/distutils/dist.py", line 972,
in run_command
cmd_obj.run()
File
"/Users/tismer/src/slptest/qtslp27/lib/python2.7/site-packages/wheel/bdist_wheel.py",
line 207, in run
archive_basename = self.get_archive_basename()
File
"/Users/tismer/src/slptest/qtslp27/lib/python2.7/site-packages/wheel/bdist_wheel.py",
line 156, in get_archive_basename
impl_tag, abi_tag, plat_tag = self.get_tag()
File
"/Users/tismer/src/slptest/qtslp27/lib/python2.7/site-packages/wheel/bdist_wheel.py",
line 150, in get_tag
assert tag == supported_tags[0]
AssertionError
Because there seems to be no documentation what supported_tags should be and
where to look further, I refuse this time to dig through this and stick with
.egg until wheel is more rugged or verbosely telling what's wrong ;-)
cheers - chris
--
Christian Tismer :^) <mailto:[email protected]>
Software Consulting : Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121 : *Starship* http://starship.python.net/
14482 Potsdam : PGP key -> http://pgp.uni-mainz.de
phone +49 173 24 18 776 fax +49 (30) 700143-0023
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside