Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building shiboken with Python 3.5.0 on Mac OS El Capitan #3

Open
stlehmann opened this issue Oct 24, 2015 · 1 comment
Open

Building shiboken with Python 3.5.0 on Mac OS El Capitan #3

stlehmann opened this issue Oct 24, 2015 · 1 comment

Comments

@stlehmann
Copy link

I just tried to build shiboken with the following steps on my Mac using Python 3.5.0. As it shows it didn' t work. I don' t know why subprocess.mswindows is called on a Mac, seems like a bug to me or am I doing something wrong?

$ git clone https://github.com/PySide/shiboken-setup.git shiboken-setup
$ cd shiboken-setup
$ python setup.py bdist_wheel --qmake=/usr/bin/qmake-qt4 --version=1.2.2

Traceback (most recent call last):
  File "setup.py", line 65, in <module>
    from utils import rmtree
  File "/Users/stefan/src/shiboken-setup/utils.py", line 10, in <module>
    import popenasync
  File "/Users/stefan/src/shiboken-setup/popenasync.py", line 26, in <module>
    if subprocess.mswindows:
AttributeError: module 'subprocess' has no attribute 'mswindows'

PS. If I switch to Python 3.4.3 (using pyenv) and trying to install I get a different error telling me that the git repository could not be downloaded:

$ python setup.py bdist_wheel --qmake=/usr/bin/qmake-qt4 --version=1.2.2
Initializing submodules for Shiboken version 1.2.2
Cloning into 'sources/shiboken'...
fatal: repository 'https://git.gitorious.org/pyside/shiboken.git/' not found
Clone of 'https://git.gitorious.org/pyside/shiboken.git' into submodule path 'sources/shiboken' failed
Traceback (most recent call last):
  File "setup.py", line 167, in <module>
    raise DistutilsSetupError("Failed to initialize the git submodules")
distutils.errors.DistutilsSetupError: Failed to initialize the git submodules

Am I missing something here?

@ctismer
Copy link
Member

ctismer commented Oct 31, 2015

Shiboken was probably not updated after a big repository change.
PySide got updated, you can install that and use its shiboken.
But Python 3.5 seems still to be a problem: PySide is not ready for it, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants