Skip to content

Commit

Permalink
src/TermRecord: bumping version, trying relative data paths
Browse files Browse the repository at this point in the history
+ Hoping to fix #16
  • Loading branch information
theonewolf committed Feb 26, 2015
1 parent 4f3d6c4 commit 0350a90
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

setup(
name='TermRecord',
version='1.1.3',
version='1.2.0',
url='http://github.com/theonewolf/TermRecord',
license='MIT',
author='Wolfgang Richter',
Expand All @@ -53,10 +53,10 @@
'HTML output!',
long_description=__doc__,
scripts = ['src/TermRecord'],
data_files = [('/usr/local/share/TermRecord/templates',
['templates/dynamic.jinja2',
'templates/base.jinja2',
'templates/static.jinja2'])],
data_files = [('local/share/TermRecord',
['templates/dynamic.jinja2',
'templates/base.jinja2',
'templates/static.jinja2'])],
install_requires=[
'Jinja2>=2.6'
],
Expand All @@ -71,6 +71,7 @@
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: System :: Logging',
'Topic :: Terminals'
]
Expand Down
7 changes: 4 additions & 3 deletions src/TermRecord
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,19 @@ from contextlib import closing
from codecs import open as copen
from json import dumps
from math import ceil
from os.path import basename, dirname, exists
from os.path import basename, dirname, exists, join
from struct import unpack
from subprocess import Popen
from sys import platform, stderr
from sys import platform, prefix, stderr
from tempfile import NamedTemporaryFile

from jinja2 import FileSystemLoader, Template
from jinja2.environment import Environment



DEFAULT_TEMPLATE = '/usr/local/share/TermRecord/templates/static.jinja2'
DEFAULT_TEMPLATE = join(prefix, 'local', 'share', 'TermRecord',
'templates', 'static.jinja2')
TTYREC = 'ttyrec'


Expand Down

0 comments on commit 0350a90

Please sign in to comment.