1
0
Fork 0
mirror of https://github.com/ejwa/gitinspector.git synced 2025-01-12 07:21:54 +01:00

Always append the root gitinspector package to sys.path (Fixes ).

With this change, gitinspector once again functions in conjunction with
egg installations. Also removed all forceful absolute imports, as these
really aren't needed.
This commit is contained in:
Adam Waldenberg 2015-10-15 17:01:57 +02:00
parent d333f7bdd2
commit f2a4cb92d3
8 changed files with 3 additions and 8 deletions

View file

@ -23,6 +23,9 @@ from __future__ import unicode_literals
import localization
localization.init()
import sys
sys.path.append("gitinspector")
from output import outputable
from output.blameoutput import BlameOutput
from output.changesoutput import ChangesOutput
@ -44,7 +47,6 @@ import interval
import getopt
import os
import optval
import sys
import terminal
import version

View file

@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with gitinspector. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from localization import N_

View file

@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with gitinspector. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from localization import N_

View file

@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with gitinspector. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
import extensions

View file

@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with gitinspector. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from filtering import __filters__

View file

@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with gitinspector. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from localization import N_

View file

@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with gitinspector. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from localization import N_

View file

@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with gitinspector. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import print_function
from __future__ import unicode_literals
from localization import N_