Re: Re: wxPython 4.0.0a3

Robin Dunn <[email protected]>
Newsgroups gmane.comp.python.wxpython.devel
Message-ID <[email protected]>
Michael Eager wrote:
>
>
> On Tuesday, June 27, 2017 at 3:03:32 PM UTC-7, Robin Dunn wrote:
>
>
>     Possibly. What commands are you using to do the build and install?
>
>
> I followed the github instructions:  
>  
> $ python3 build.py 3.4 clean
> $ python3 build.py 3.4 dox
> $ python3 build.py 3.4 etg
> $ python3 build.py 3.4 sip
> $ python3 build.py 3.4 build
> $ sudo python3 build.py 3.4 install
>
> (I also tried these combined.)
>
>
>     Somebody has mentioned in the past that there could be some
>     confusion on some distros about /usr/lib vs. /usr/lib64 so you may
>     want to check in /usr/lib/python3.4 and see if some of the files
>     got put there by mistake.
>
>
> I checked /usr/lib/python3.4/site-packages.  There are packages there,
> but not wx.
>
> There is a /usr/lib64/python3.4/site-packages/wx/core.pyi.  I don't
> know what the pyi extension means.  It looks like a regular .py file. 

.pyi files are a newish Python standard, they are meant for providing
extra information about a module's contents that may not be able to
gleaned from the actual code itself, (such as type hints, expanded
docstrings, etc.) and is especially useful for providing info about the
contents of extension modules since they can't be introspected nearly as
much as pure Python code. They will be used by tools such as IDEs or
code analysis tools.

>
>     Another option would be to keep the system python clean (install
>     only packages from the system repositories there) and build your
>     wxPython as a wheel and install that wheel either in a virtual
>     environment or in a non-system build of Python.
>
>
> What do you mean "build as a wheel"?

https://wheel.readthedocs.io/en/latest/

A Python wheel is the next generation of packaging and distribution
format for Python packages, and it's installable by pip. You can create
one for wxPython with the bdist_wheel build.py command instead of the
install command.  The result will be put in the dist subfolder.

> Thanks.  I'm running CentOS, not Ubuntu.   

There are wheels of the recent wxPython 4 releases for CentOS 7 and a
few other linuxes here: https://wxpython.org/Phoenix/release-extras/linux.


-- 
Robin Dunn
Software Craftsman
http://wxPython.org

-- 
You received this message because you are subscribed to the Google Groups "wxPython-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.