Olemis Lang avatar Olemis Lang committed e36f2b9

RestOnTrac: Update copyright statements and setup.py definition

Comments (0)

Files changed (8)

trac-dev/restontrac/setup.py

 #!/usr/bin/env python
+# -*- coding: UTF-8 -*-
 
-# Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+# Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+# Copyright 2013 Olemis Lang <olemis at gmail.com>
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
     ]
 
 # Be compatible with older versions of Python
-from sys import version
+from sys import version, version_info
 if version < '2.2.3':
     from distutils.dist import DistributionMetadata
     DistributionMetadata.classifiers = None
   description=DESC.split('\n', 1)[0],
   author='Olemis Lang',
   author_email='olemis+trac@gmail.com',
-  maintainer='Jose Angel Franco Navarro',
-  maintainer_email='jangel.franco@gmail.com',
+#  maintainer='Jose Angel Franco Navarro',
+#  maintainer_email='jangel.franco@gmail.com',
+  maintainer='Olemis Lang',
+  maintainer_email='olemis+trac@gmail.com',
   url='https://restontrac.blood-hound.net',
   download_url='http://pypi.python.org/packages/2.5/%s/%s/%s-%s-py2.5.egg' % \
                                 (DIST_NM[0], DIST_NM, DIST_NM, latest,),
   requires = ['trac',  'simplejson', ],
   install_requires = [
       'setuptools>=0.6b1',
-      'Trac>=10',
-      'simplejson>=0.1.0', 
-  ],
+      'Trac>=1.0',
+  ] + ['simplejson>=0.1.0'] if version_info[:2] < (2, 6) else [], 
   package_dir = dict([p, i[0]] for p, i in PKG_INFO.iteritems()),
   packages = PKG_INFO.keys(),
   package_data = dict([p, i[1]] for p, i in PKG_INFO.iteritems()),
   classifiers = cats,
   long_description= DESC
   )
+

trac-dev/restontrac/tracrest/__init__.py

 #!/usr/bin/env python
 # -*- coding: UTF-8 -*-
 
-# Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+# Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+# Copyright 2013 Olemis Lang <olemis at gmail.com>
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
 
 RESTful interface built on top of Trac XmlRpcPlugin
 
-Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+Copyright 2013 Olemis Lang <olemis at gmail.com>
 Licensed under the Apache License
 """
 __author__ = 'Olemis Lang'
 TracError.__str__ = lambda self: unicode(self).encode('ascii', 'ignore')
 
 try:
-    from tracrest import *
+    from tracrest.api import *
+    from tracrest.resources import *
+    from tracrest.ticket_search import *
+    from tracrest.tickets import *
+    from tracrest.web_ui import *
     msg = 'Ok'
 except Exception, exc:
 #    raise

trac-dev/restontrac/tracrest/api.py

 #!/usr/bin/env python
 # -*- coding: UTF-8 -*-
 
-# Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+# Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+# Copyright 2013 Olemis Lang <olemis at gmail.com>
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
 
 RESTful interface built on top of Trac RpcPlugin
 
-Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+Copyright 2013 Olemis Lang <olemis at gmail.com>
 Licensed under the Apache License
 """
 from trac.core import *

trac-dev/restontrac/tracrest/resources.py

 #!/usr/bin/env python
 # -*- coding: UTF-8 -*-
 
-# Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+# Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+# Copyright 2013 Olemis Lang <olemis at gmail.com>
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
 
 RESTful interface built on top of Trac RpcPlugin
 
-Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+Copyright 2013 Olemis Lang <olemis at gmail.com>
 Licensed under the Apache License
 """
 from trac.core import implements

trac-dev/restontrac/tracrest/ticket_search.py

 #!/usr/bin/env python
 # -*- coding: UTF-8 -*-
 
-# Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+# Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+# Copyright 2013 Olemis Lang <olemis at gmail.com>
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
 
 RESTful interface built on top of Trac RpcPlugin
 
-Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+Copyright 2013 Olemis Lang <olemis at gmail.com>
 Licensed under the Apache License
 """
 

trac-dev/restontrac/tracrest/tickets.py

 #!/usr/bin/env python
 # -*- coding: UTF-8 -*-
 
-# Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+# Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+# Copyright 2013 Olemis Lang <olemis at gmail.com>
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
 
 RESTful interface built on top of Trac RpcPlugin
 
-Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+Copyright 2013 Olemis Lang <olemis at gmail.com>
 Licensed under the Apache License
 """
 

trac-dev/restontrac/tracrest/util.py

 #!/usr/bin/env python
 # -*- coding: UTF-8 -*-
 
-# Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+# Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+# Copyright 2013 Olemis Lang <olemis at gmail.com>
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
 
 RESTful interface built on top of Trac RpcPlugin
 
-Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+Copyright 2013 Olemis Lang <olemis at gmail.com>
 Licensed under the Apache License
 """
 from routes.mapper import Mapper
     config.host = request.server_name
     config.protocol = request.scheme
     #TODO check if OK
-    config.redirect = lambda url: request.redirect(url)
+    config.redirect = lambda url: request.redirect(url)

trac-dev/restontrac/tracrest/web_ui.py

 #!/usr/bin/env python
 # -*- coding: UTF-8 -*-
 
-# Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+# Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+# Copyright 2013 Olemis Lang <olemis at gmail.com>
 #
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
 
 RESTful interface built on top of Trac RpcPlugin
 
-Copyright 2009-2011 Olemis Lang <olemis at gmail.com>
+Copyright 2012 José Angel Franco Navarro <jangel.franco at gmail.com>
+Copyright 2013 Olemis Lang <olemis at gmail.com>
 Licensed under the Apache License
 """
 import sys
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.