Browse files

Make an installable python package.

  • Loading branch information...
1 parent 4603358 commit 847a94e30e35d253021c2a3414ae199f7b229758 @mythmon mythmon committed Jul 21, 2011
Showing with 19 additions and 0 deletions.
  1. +1 −0 hamper/__init__.py
  2. +2 −0 hamper/main.py → scripts/hamper
  3. +16 −0 setup.py
View
1 hamper/__init__.py
@@ -0,0 +1 @@
+version = '0.1'
View
2 hamper/main.py → scripts/hamper
@@ -1,3 +1,5 @@
+#!/usr/bin/env python2
+
import sys
import yaml
View
16 setup.py
@@ -0,0 +1,16 @@
+#!/usr/bin/env python2
+
+from setuptools import setup, find_packages
+
+from hamper import version
+
+setup(name='hamper',
+ version=version.encode('utf8'),
+ description='Yet another IRC bot',
+ install_requires=['pyyaml', 'Twisted'],
+ author='Mike Cooper',
+ author_email='mythmon@gmail.com',
+ url='https://www.github.com/hamperbot/hamper',
+ packages=find_packages(),
+ scripts=['scripts/hamper'],
+ )

0 comments on commit 847a94e

Please sign in to comment.