Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwf committed Jun 13, 2016
1 parent 60b0e4c commit 638da73
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
6 changes: 6 additions & 0 deletions scripts/thud
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env python

from thud import main

if __name__ == "__main__":
main()
13 changes: 13 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from setuptools import setup


setup(name='thud',
version='0.0.1',
description='A Timing Heads-Up Display.',
url='http://github.com/dwf/thud',
author='David Warde-Farley',
author_email='[email protected]',
license='MIT',
modules=['thud'],
scripts=['scripts/thud'],
zip_safe=False)
3 changes: 2 additions & 1 deletion thud.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,6 @@ def _update_callback(self, _, __):
self.text.set_text(self.time_display)
self.alarm = self.set_alarm_in(0.1, self._update_callback)

if __name__ == "__main__":

def main():
UserInterface().run()

0 comments on commit 638da73

Please sign in to comment.