pyside / shiboken-setup Goto Github PK
View Code? Open in Web Editor NEWSetup scripts for the Shiboken project, compatible with pip, setuptools and virtualenv
Setup scripts for the Shiboken project, compatible with pip, setuptools and virtualenv
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
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.