On Monday, January 21, 2013 1:00:47 PM UTC-8, Chris Nelson wrote:
>
> [...]
> trac/sample-plugins/sampleQueryPreprocessor/sampleQueryPreprocessor.py 
> and tried and tried to create a setup.py in that directory.  Nothing I 
> try works.
>

Also, unless you put a `from sampleQueryPreprocessor import *` in your 
`__init__.py`, if your files/directory structure is like this:

setup.py
sampleQueryPreprocessor/sampleQueryPreprocessor.py 

Then you'll need:

entry_points = """
    [trac.plugins]
        
SampleQueryPreprocessor=sampleQueryPreprocessor.SampleQueryPreprocessor
""", 

in your `setup.py` ... or something like that. 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/trac-dev/-/yekKbFq9H0wJ.
To post to this group, send email to trac-dev@googlegroups.com.
To unsubscribe from this group, send email to 
trac-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to