Running from Source
-
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Running from Source
I'm new to Python and I want to dive into the source a bit. I'm using Eric IDE. Can someone point me in the right direction for running from source? For example, what module/project do I load first?
- Jeff
- Jeff
-
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: Running from Source
BUMP
Anyone? Someone must be running from source, no?
Anyone? Someone must be running from source, no?
Re: Running from Source
Basicly it is always running from source. If the eventghost.exe detects a changed py file it compile it and runs from there.
-
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: Running from Source
Ah, ok, but I'd like to run from within an IDE for debug purposes. That's the issue.
- Jeff
- Jeff
-
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: Running from Source
Wow, is it really possible that no one is running EG from within a Python development environment?
- Jeff
- Jeff
Re: Running from Source
I believe EventGhost.pyw is the main entry point for EventGhost. It looks like that is what the installer's exe file points to when it starts.
-
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: Running from Source
I see no "EventGhost.pyw" anywhere.
- Jeff
- Jeff
Re: Running from Source
EventGhost uses py2exe to build an executable from the python source, then builds an installer from that. The installer doesn't install all of the files, just the ones needed to run. If you download the source code from the SVN, you will find the file I mentioned.
Brett
Brett
-
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: Running from Source
Ah, ok, that explains a lot.
How do I get read-only SVN access?
- Jeff
How do I get read-only SVN access?
- Jeff
Re: Running from Source
You don't need anything for read only access, except a svn client (I'm using tortoiseSVN). Create a directory for the code, then right click and select SVN Checkout and point to: http://www.eventghost.org/svn/
Just grab the trunk and you should get what you need.
You won't be able to upload anything unless Bitmonster gives you write access - which he seems hesitant to do.
I think on sourceforge there was a way to download a current tarball, but it doesn't look like the new svn host has that option. So I think you need to run an svn client to get the source.
Good luck,
Brett
Just grab the trunk and you should get what you need.
You won't be able to upload anything unless Bitmonster gives you write access - which he seems hesitant to do.
I think on sourceforge there was a way to download a current tarball, but it doesn't look like the new svn host has that option. So I think you need to run an svn client to get the source.
Good luck,
Brett
-
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: Running from Source
Brett -
Thanks for the info. You've been great help. Now if I can get the correct version of Python installed so it works. I keep running into problems with msvc90.dll (or something like that) and I don't have a whole lot of time to play.
- Jeff
Thanks for the info. You've been great help. Now if I can get the correct version of Python installed so it works. I keep running into problems with msvc90.dll (or something like that) and I don't have a whole lot of time to play.
- Jeff
Re: Running from Source
I've got it working with the 2.6.2 version of python from here. Install that instead of a non-stackless python distribution. You should be able to copy the msvc dll's from the EventGhost directory if you use the eventghost installer.
No problem answering the questions, but why do you want to run from source if you "don't have time to play"? Why not just use the installer then? I ask, because you may still run into problems due to missing packages.
Brett
No problem answering the questions, but why do you want to run from source if you "don't have time to play"? Why not just use the installer then? I ask, because you may still run into problems due to missing packages.
Brett
-
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: Running from Source
Brett -
I will have time here and there to play (although I shouldn't). I have EG running on five machines in my house and overall like it, but I would like to start tweaking the source for my own purposes.
- Jeff
I will have time here and there to play (although I shouldn't). I have EG running on five machines in my house and overall like it, but I would like to start tweaking the source for my own purposes.
- Jeff
Re: Running from Source
I have now also downloaded the SVN trunk, because I want to see if I can figure out what's wrong here. I have now installed python 2.6.2 and the win32 extension. When I import pythoncom and win32com in the console it works.
However, when I try tu run eventghost, it always fails with an error that there is no stackless. I downloaded the stackless package as well, but it says that it is already installed!
Is the stackless build a seperate python build so that I have to uninstall my original python and use the one from stackless? I assumed that it is just an additional package to install on top of it.
Are there somewhere instructions on how to get started with the source?
However, when I try tu run eventghost, it always fails with an error that there is no stackless. I downloaded the stackless package as well, but it says that it is already installed!

Is the stackless build a seperate python build so that I have to uninstall my original python and use the one from stackless? I assumed that it is just an additional package to install on top of it.
Are there somewhere instructions on how to get started with the source?
Re: Running from Source
Bitmonster hasn't posted any instructions. I posted this from memory. I keep thinking Bitmonster will add to some of the instructions, but he never does. So, if you get it working and have any corrections please let me know and I'll update that post.
I wasn't able to install stackless over a standard python install, so I would recommend uninstalling python and installing the stackless distro.
Good luck.
Brett
I wasn't able to install stackless over a standard python install, so I would recommend uninstalling python and installing the stackless distro.
Good luck.
Brett