On 19/04/2017 00:24, cappy2112 wrote:
>
> Matt
>
>>>You might try conda install -c newville wxpython-phoenix
> This worked fine form inside of my Anaconda virtenv
>
>>>The demos and docs can be installed from source, even on Windows. I
> think a conda recipe for these would not be hard.
> I've got no idea how to make a conda recipe, and I've never installed
> the Docs & Demos from source.
>
> Thanks for the info!
>
The Docs do take some building but the Demos, at least mostly, run
successfully from source, (it is python after all), once you have
wxPython installed and running. The steps are:
1/ Change directory to a working area and check which wxPython you are
using with `python -c "import wx;print(wx.version());"`
2/ Either:
2a/ Use git _Recommended_:
- Clone the wxPython source code for Classic and/or Phoenix (depending
which you are looking to work from) with one or both of:
- `git clone
https://github.com/wxWidgets/Phoenix.git`
- `git clone
https://github.com/wxWidgets/wxPython.git`
- change directory to the one that you are interested in wxPython (for
2.8.0.2 to 3.0.2.0) or Phoenix (for 4.0.0a1).
- List the available release tags with `git tag`
- Update your working copy to the desired tag with `git checkout `
followed by the name of the tag.
2b/ Use your browser _You have to do this for each version that you are
interested in_
- Go to one/or both of:
-
https://github.com/wxWidgets/wxPython/releases
-
https://github.com/wxWidgets/Phoenix/releases
- Find the version that you are interested in and download the .zip or
.tag.gz whichever you find most convenient.
- Unzip/Untar to your working area and change directory to the
resulting directory.
3. cd demo
4. python demo.py
5. You can add a shortcut to your desktop to run the demo if you wish.
6. If you use the git method you can update at any time with `git
pull` and switch between versions with the git tag and checkout
commands. If you use the browser method you will have to download any
new releases and unzip/untar the version(s) that you wish to try - in
this case I strongly recommend either a new directory or deleting all of
the contents of the old one first as you may get some issues with old
.pyc files, etc., otherwise.
You also now have the entire source code of wxPython & wxWidgets to
explore if you choose.
In classic the documents are under docs as html files mostly while in
Phoenix you will need to use Sphinx-doc to build the docs and IIRC you
may need doxygen and graphviz installed for that to work.
Have fun!
--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.