Bit of this and a bit of that

2007-06-06
2013-04-26
  • Jürgen Urner

    Jürgen Urner - 2007-06-06

    I checked out DrPython from svn. "__init__.py" is missing in the repos,
    so I added it on my local copy to be able to install latest snapshot.
    Is there a reason for __init__.py missing?

    Drag and drop is not working, no matter what preferences setting I use.
    >> DrPython 166
    >> wxPython Version: 2.8.4.0
    >> wxPython Platform: wxGTK, unicode, gtk2, wx-assertions-off, SWIG-1.3.29
    >> Python Version: 2.5.1.final
    >> Python Platform: linux2

    Couldn't keep my fingers still, so I started writing a plugin for
    DrPython. If I get to finish it, it is supposed to handle executing
    of external programs from within the gui. What would I have to do
    to get a plugin published here?

    Regards, Jürgen

     
    • Franz Steinhaeusler

      Hi Jürgen,

      1) ad __init__.py: What should be inside of __init__.py.
      Forgive my ignorance, but why do you miss the __init__.py.
      Of course it is no problem to add it. ;)

      2) I see. Could you add a bug report about that? It also does not work on my pc wxPy 2.8.3, win32.

      3) You could send it to my email adress (francescoa at users.sourceforge.net),
      or add it as a file in the patches tracker.

      If you have more interest, I could add you as a developer(?) and you could
      upload it into plugins section and/or take a look at the drag and drop issue. ;).

      What about that? :)

       
    • Jürgen Urner

      Jürgen Urner - 2007-06-06

      Franz Steinhaeusler wrote:

      >> 1) ad __init__.py: What should be inside of __init__.py.
      >> Forgive my ignorance, but why do you miss the __init__.py.
      >> Of course it is no problem to add it. ;)

      It's a good place to put a __version__ string into. __version__ = "166" ;-)
      ++ DrPython is a package. With __init__.py everyone who feels like
      can install it right away from the subversion repository.

      >> 2) I see. Could you add a bug report about that? It also does not work on my pc >> wxPy 2.8.3, win32.

      I'll do that.

      >> 3) You could send it to my email adress (francescoa at users.sourceforge.net), 
      >> or add it as a file in the patches tracker.

      Ok, when done I'll supply a patch. 

      >> If you have more interest, I could add you as a developer(?) and you could
      >> upload it into plugins section and/or take a look at the drag and drop issue. ;).
      >>
      >> What about that? :)

      Will take some time untill I get to read the sources. My wxPython is pretty
      rusted, but I'll see if I can help a bit.

       
      • Franz Steinhaeusler

        for __init__.py_: done
        Bug report: I have seen, thanks.

        I for the moment have not much time. I "fear" (without looking at the sources) it is somewhat hardcoded. In the wxPython demo there is a nice sample of dnd (drag and drop).

        Thanks!

         

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks