Permalink
Browse files

Fix setup.py try adding a .travis.yml

  • Loading branch information...
1 parent 67160d4 commit ddbc0762e7ba44ef8f7946f5e8d4cf02cafe69b7 @dreid committed Feb 21, 2012
Showing with 11 additions and 1 deletion.
  1. +8 −0 .travis.yml
  2. +2 −0 README.md
  3. +1 −1 setup.py
View
@@ -0,0 +1,8 @@
+language: python
+before_script:
+ - virtualenv cotools_env
+ - source cotools_env/bin/activate
+
+script:
+ - python setup.py install
+ - trial cotools
View
@@ -18,13 +18,15 @@ My goal is more to facilitate discussion about how to make Cooperative
Multitasking a more comfortable programming paradigm and to attempt to give
novice Twisted users some level of cooperation 'for free'.
+
## Non-blocking vs Cooperative
These primitives much like the `Deferred` they are built on do not magically
make your code non-blocking. The primary unit of work is the item in the
iterator and whatever function does with that item may block your
application for any period of time.
+
## Primitives
All primitives return a Deferred which will callback when iteration is
View
@@ -4,6 +4,6 @@
name="cotools",
version="0.0.1",
description="Cooperative functional primitives for Twisted",
- modules=["cotools"],
+ py_modules=["cotools"],
install_requires=["Twisted"]
)

0 comments on commit ddbc076

Please sign in to comment.