Skip to content
Browse files

Fixed setup script.

  • Loading branch information...
1 parent feea8e3 commit c61546c9fe70af79544915a743002617f55e8718 @mrjoes committed Jan 16, 2012
Showing with 3 additions and 4 deletions.
  1. +0 −1 requirements.txt
  2. +3 −3 setup.py
View
1 requirements.txt
@@ -1,2 +1 @@
Tornado>=2.1.1
-simplejson>=2.1.0
View
6 setup.py
@@ -13,7 +13,7 @@
license = None
try:
- readme = open('README.rst').read()
+ readme = open('README.md').read()
except:
readme = None
@@ -22,12 +22,12 @@
version='0.0.1',
author='Serge S. Koval',
author_email='serge.koval@gmail.com',
- packages=['sockjs', 'sockjs.tornado', 'sockjs.tornado.transports'],
+ packages=['sockjs.tornado', 'sockjs.tornado.transports'],
namespace_packages=['sockjs'],
scripts=[],
url='http://github.com/MrJoes/sockjs-tornado/',
license=license,
- description='SockJS pyton server implementation on top of Tornado framework',
+ description='SockJS python server implementation on top of Tornado framework',
long_description=readme,
requires=['tornado'],
install_requires=[

3 comments on commit c61546c

@23doors

Why did you remove sockjs from packages? Without this: running python import sockjs.tornado after python setup.py install will fail as there is no __init__.py in sockjs.

@23doors

Also, your version of init.py in sockjs causes UserWarning. Once it is emptied, it is fine.

@mrjoes
Owner
mrjoes commented on c61546c Jan 20, 2012

I see. sockjs is a virtual (namespaced) package which contains sockjs.tornado and might contain other packages (sockjs.cplex for example). I added 'sockjs' package back and it now works as expected.

Please sign in to comment.
Something went wrong with that request. Please try again.