Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

GitPlugin: moved Trac version requirements into `setup.py` (inspired …

…by trac:changeset:6573)
  • Loading branch information...
commit 495f90e65e3dbcc07ad12547ba353bf10ec415f9 1 parent 5640bec
@hvr authored
Showing with 3 additions and 4 deletions.
  1. +3 −1 setup.py
  2. +0 −3  tracext/git/git_fs.py
View
4 setup.py 100644 → 100755
@@ -1,11 +1,13 @@
+#!/usr/bin/env python
+
from setuptools import setup
setup(
name='TracGit',
+ install_requires='Trac >=0.11dev, ==0.11b1',
description='GIT version control plugin for Trac 0.11',
author='Herbert Valerio Riedel',
author_email='hvr@gnu.org',
-
keywords='trac scm plugin git',
url="http://trac-hacks.org/wiki/GitPlugin",
version='0.11.0.1',
View
3  tracext/git/git_fs.py
@@ -36,9 +36,6 @@ def short_rev(self, path):
if not sys.version_info[:2] >= (2,5):
raise TracError("python >= 2.5 dependancy not met")
-import pkg_resources
-pkg_resources.require('Trac>=0.11dev')
-
import PyGIT
def _last_iterable(iterable):
Please sign in to comment.
Something went wrong with that request. Please try again.