summaryrefslogtreecommitdiff
path: root/README
blob: 1150bafa85c26d438151d96cf8d7ce65a378a32e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Tulip is the codename for my reference implementation of PEP 3156.

PEP 3156: http://www.python.org/dev/peps/pep-3156/

*** This requires Python 3.3 or later! ***

Copyright/license: Open source, Apache 2.0. Enjoy.

Master Mercurial repo: http://code.google.com/p/tulip/

The actual code lives in the 'asyncio' subdirectory.
Tests are in the 'tests' subdirectory.

To run tests:
  - make test

To run coverage (coverage package is required):
  - make coverage

On Windows, things are a little more complicated.  Assume 'P' is your
Python binary (for example C:\Python33\python.exe).

You must first build the _overlapped.pyd extension (it will be placed
in the asyncio directory):

    C> P setup.py build_ext

Then you can run the tests as follows:

    C> P runtests.py

And coverage as follows:

    C> P runtests.py --coverage

--Guido van Rossum <guido@python.org>