Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… `python tests/server_commands.py`
  • Loading branch information...
commit 997d27f51aa84c5ef4d8983094901575b2139ffc 1 parent b9a0b58
Ted Nyman tnm authored committed
Showing with 27 additions and 0 deletions.
  1. +8 −0 .gitignore
  2. +16 −0 setup.py
  3. +3 −0  tests/server_commands.py
8 .gitignore
View
@@ -0,0 +1,8 @@
+*~
+*.pyc
+build/*
+dist/*
+*/dist/*
+*.egg
+*.egg-info
+src/*.egg-info/*
16 setup.py
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'],
+ )
3  tests/server_commands.py
View
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.