Permalink
Browse files

adding basic packaging, .gitignore, and the ability to run tests with…

… `python tests/server_commands.py`
  • Loading branch information...
1 parent b9a0b58 commit 997d27f51aa84c5ef4d8983094901575b2139ffc @tnm tnm committed with May 17, 2010
Showing with 27 additions and 0 deletions.
  1. +8 −0 .gitignore
  2. +16 −0 setup.py
  3. +3 −0 tests/server_commands.py
View
@@ -0,0 +1,8 @@
+*~
+*.pyc
+build/*
+dist/*
+*/dist/*
+*.egg
+*.egg-info
+src/*.egg-info/*
View
@@ -0,0 +1,16 @@
+#!/usr/bin/env python
+
+from distutils.core import setup
+
+VERSION = '0.0.1'
+
+setup(name='brukva',
+ version=VERSION,
+ description='Asynchronous Redis client that works within the Tornado IO loop',
+ author='Konstantin Merenkov',
+ author_email='kmerenkov@gmail.com',
+ license='WTFPL',
+ url='http://github.com/kmerenkov/brukva',
+ keywords=['Redis', 'Tornado'],
+ packages=['brukva'],
+ )
@@ -149,3 +149,6 @@ def test_sets3(self):
self.client.sunionstore(['foo', 'bar'], 'zar', self.expect(4))
self.client.smembers('zar', [self.expect(set(['a', 'b', 'c', 'd'])), self.finish])
self.start()
+
+if __name__ == '__main__':
+ unittest.main()

0 comments on commit 997d27f

Please sign in to comment.