+helloworldplugin
+build
+bdist.win32
+lib
+dist
helloworldplugin-1.1-py2.7.egg
+helloworld
+templates
helloworld.html
__init__.py
helloworld.py
+helloworldplugin.egg-info
dependency_links,txt
entry_points.txt
PKG-INFO
SOURCES.txt
top_level.txt
create.bat
setup.py
Thanks for the replyI've now made a plugin which works using the tutorial on trac-hacks. However, whenever I change the names of the files and the references to them in the other files to something more useful than 'helloworld' the plugin stops working. The 2 copies I'm using are identical in code apart from the names - the only thing that differs is the SOURCES.txt file, which has far less references in it for the plugin which has the changed names.
No idea how that syntax error got into the setup.py file!I've attached the source code with the renamed bits for you, thanks again.
I've made a new plugin and it creates an egg fine (although the sources.txt info file looks a bit sparse - it only contains the batch file for creating the egg and the setup.py file). I've copied it into the plugins directory on my testbed however it does not display on the admin page of trac and in the log when running in debug trac is not even attempting to add the plugin as it does with the rest of the plugins. The egg is readable, the python version is correct and I have enabled it in the trac.ini file so any help would really be appreciated!
Will there be any issues with using the commands you suggested once I deploy the plugin?
Hi,
I installed ticketcreationstatus plugin and the changes are not reflecting in the ticket status as I still see the status as new when a new ticket is submitted. I installed the wrong version of egg and all the python eggs in my plugin directory are having 2.7 version. I did an easy_install http://trac-hacks.org/svn/ticketcreationstatusplugin/ and the egg got created in python2.4/site-packages folder.
I did copy paste it to the plugin folder and also made the changes in trac.ini and restarted the webserver.
Now the installation did not make any give me the output as expected.
I suspect it could be because of the mismatch of the python version. While installing I did not get option to select for a python version. How do I install the plugin which is compatible with python2.7 version?