Skip to content

Commit

Permalink
adding basic packaging, .gitignore, and the ability to run tests with…
Browse files Browse the repository at this point in the history
… `python tests/server_commands.py`
  • Loading branch information
tnm authored and kmerenkov committed May 18, 2010
1 parent b9a0b58 commit 997d27f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
@@ -0,0 +1,8 @@
*~
*.pyc
build/*
dist/*
*/dist/*
*.egg
*.egg-info
src/*.egg-info/*
16 changes: 16 additions & 0 deletions setup.py
@@ -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 changes: 3 additions & 0 deletions tests/server_commands.py
Expand Up @@ -149,3 +149,6 @@ def test_sets3(self):
self.client.sunionstore(['foo', 'bar'], 'zar', self.expect(4)) self.client.sunionstore(['foo', 'bar'], 'zar', self.expect(4))
self.client.smembers('zar', [self.expect(set(['a', 'b', 'c', 'd'])), self.finish]) self.client.smembers('zar', [self.expect(set(['a', 'b', 'c', 'd'])), self.finish])
self.start() self.start()

if __name__ == '__main__':
unittest.main()

0 comments on commit 997d27f

Please sign in to comment.