Code Monkey home page Code Monkey logo

shiboken-setup's People

Contributors

lck avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shiboken-setup's Issues

error: invalid command 'bdist_wheel'

From https://github.com/PySide/shiboken-setup#building-shiboken-on-a-windows-system

When I try to run the command:
c:\Python27\python.exe setup.py bdist_wheel --version=1.2.2 --qmake=c:\Qt\4.8.5\bin\qmake.exe

from the "Building Shiboken distribution from git repository section", step 3, I keep getting an error "error: invalid command 'bdist_wheel'"

Also, its confusing because in step 2 I'm instructed to switch to the shiboken-setup directory, but step 3 shows the command being run from the C:\ root directory.

I get the error in both cases ( when run from C:\ and from C:\shiboken-setup

Building shiboken with Python 3.5.0 on Mac OS El Capitan

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.