how to install wxPython from git repository?

after I do

git clone https://github.com/wxWidgets/wxWidgets

cd wxWidgets

I don’t understand how I can install wxPython, not wxWidgets.

You need both. wxPython's build-wxpython.py script will expect to find an up to date wxWidgets source tree at ../wxWidgets.

wxPython is at GitHub - wxWidgets/wxPython-Classic: This is the repository for "Classic" wxPython. All new development is happening in the Phoenix project at https://github.com/wxWidgets/Phoenix. Once you've fetched your clone of the repo you will also need to run wxPython/bin/suprepos-make to fetch some other packages from the svn server into the wxPython source tree.

···

On 1/9/13 8:05 AM, Ishayahu Lastov wrote:

after I do
git clone GitHub - wxWidgets/wxWidgets: Cross-Platform C++ GUI Library
cd wxWidgets
I don't understand how I can install wxPython, not wxWidgets.

--
Robin Dunn
Software Craftsman

shuld I run after that
python wxpython-buil.py

python setup.py build

python setup.py install

?

···

2013/1/9 Robin Dunn robin@alldunn.com

On 1/9/13 8:05 AM, Ishayahu Lastov wrote:

after I do

git clone https://github.com/wxWidgets/wxWidgets

cd wxWidgets

I don’t understand how I can install wxPython, not wxWidgets.

You need both. wxPython’s build-wxpython.py script will expect to find an up to date wxWidgets source tree at …/wxWidgets.

wxPython is at https://github.com/wxWidgets/wxPython. Once you’ve fetched your clone of the repo you will also need to run wxPython/bin/suprepos-make to fetch some other packages from the svn server into the wxPython source tree.

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

сохраняйте, пожалуйста, при ответе исходный текст письма

С уважением,
начальник отдела технической поддержки
Московского Еврейского Общинного Центра

Ишаяу Ластов
телефон: +7-495-645-05-16
моб : +7-901-569-81-86
с 12 до 18, с воскресенья по четверг

Run build-wxpython.py. Give it a --help option and it will tell you what options it supports, and there is a little more info in docs/BUILD.txt.

···

On 1/10/13 12:52 AM, Ishayahu Lastov wrote:

shuld I run after that
python wxpython-buil.py
python setup.py build
python setup.py install
?

--
Robin Dunn
Software Craftsman

Run build-wxpython.py. Give it a --help option and it will tell you
what options it supports, and there is a little more info in docs/BUILD.txt.

I runed under root

python build-wxpython.py --install

and got this error:

copying wx/lib/imageutils.py → build/lib.freebsd-9.1-RELEASE-amd64-2.7/wx/lib

error: package directory ‘wx/lib/agw’ does not exist

ERROR: failed building wxPython.

···


Robin Dunn

Software Craftsman

http://wxPython.org

Could it be that you did not run “wxPython/bin/suprepos-make”
mentioned by Robin?
Werner

···

On 11/01/2013 07:06, Ishayahu Lastov
wrote:

    Run

build-wxpython.py. Give it a --help option and it will tell you

    what options it supports, and there is a little more info in

docs/BUILD.txt.

I runed under root

      python build-wxpython.py

–install

and got this error:

        copying

wx/lib/imageutils.py →
build/lib.freebsd-9.1-RELEASE-amd64-2.7/wx/lib

        error: package

directory ‘wx/lib/agw’ does not exist

        ERROR: failed building

wxPython.

no, I made this. After that I runed

python build-wxpython.py

it completed without any error, but

python build-wxpython.py --install

completed with that error(

···

пятница, 11 января 2013 г., 12:05:42 UTC+4 пользователь werner написал:

  On 11/01/2013 07:06, Ishayahu Lastov > wrote:
    Run

build-wxpython.py. Give it a --help option and it will tell you

    what options it supports, and there is a little more info in

docs/BUILD.txt.

I runed under root

      python build-wxpython.py

–install

and got this error:

        copying

wx/lib/imageutils.py →
build/lib.freebsd-9.1-RELEASE-amd64-2.7/wx/lib

        error: package

directory ‘wx/lib/agw’ does not exist

        ERROR: failed building

wxPython.

Could it be that you did not run "wxPython/bin/suprepos-make"

mentioned by Robin?

Werner

If wx/lib/agw does not exist then either you did not run bin/suprepos-make or it failed and you ignored the failure.

···

On 1/11/13 12:12 AM, Ishayahu Lastov wrote:

no, I made this. After that I runed
python build-wxpython.py
it completed without any error, but
python build-wxpython.py --install
completed with that error(

--
Robin Dunn
Software Craftsman

I built wxPython from sources a few days ago and faced the same problem. I didn’t install anything, but by setting the right paths I was able to run a demo, which complained about a missing agw package only. I looked through the directories and found wxPython/bin/wx/lib/agw. After copying the whole agw dir to wxPython/wx/lib/ everything worked suddenly.

···

Am Samstag, 12. Januar 2013 23:46:01 UTC+1 schrieb Robin Dunn:

On 1/11/13 12:12 AM, Ishayahu Lastov wrote:

no, I made this. After that I runed

python build-wxpython.py

it completed without any error, but

python build-wxpython.py --install

completed with that error(

If wx/lib/agw does not exist then either you did not run
bin/suprepos-make or it failed and you ignored the failure.


Robin Dunn

Software Craftsman

http://wxPython.org

The bin dir also contains some other libraries and tools, which might have something to do with Redirecting to Google Groups

···

Am Sonntag, 13. Januar 2013 19:31:07 UTC+1 schrieb Hubert Grzeskowiak:

Am Samstag, 12. Januar 2013 23:46:01 UTC+1 schrieb Robin Dunn:

On 1/11/13 12:12 AM, Ishayahu Lastov wrote:

no, I made this. After that I runed

python build-wxpython.py

it completed without any error, but

python build-wxpython.py --install

completed with that error(

If wx/lib/agw does not exist then either you did not run
bin/suprepos-make or it failed and you ignored the failure.


Robin Dunn

Software Craftsman

http://wxPython.org

I built wxPython from sources a few days ago and faced the same problem. I didn’t install anything, but by setting the right paths I was able to run a demo, which complained about a missing agw package only. I looked through the directories and found wxPython/bin/wx/lib/agw. After copying the whole agw dir to wxPython/wx/lib/ everything worked suddenly.

Sorry, I intended to add code to that script (and the others) to ensure that it is run from the root folder of the wxPython source tree, but obviously I haven't done that yet. If you run it from the wxPython folder instead of from within bin then it will do the right thing.

  cd wxPython
  bin/subrepos-make

···

On 1/13/13 10:31 AM, Hubert Grzeskowiak wrote:

Am Samstag, 12. Januar 2013 23:46:01 UTC+1 schrieb Robin Dunn:

    On 1/11/13 12:12 AM, Ishayahu Lastov wrote:
     > no, I made this. After that I runed
     > python build-wxpython.py
     > it completed without any error, but
     > python build-wxpython.py --install
     > completed with that error(

    If wx/lib/agw does not exist then either you did not run
    bin/suprepos-make or it failed and you ignored the failure.

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

I built wxPython from sources a few days ago and faced the same problem.
I didn't install anything, but by setting the right paths I was able to
run a demo, which complained about a missing agw package only. I looked
through the directories and found wxPython/bin/wx/lib/agw. After copying
the whole agw dir to wxPython/wx/lib/ everything worked suddenly.

--
Robin Dunn
Software Craftsman