Mirror of mitogen
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
David Wilson 43ccbf0459 issue #19: second attempt at import scanner
This version is based on the modulefinder standard library module,
pruned back just to handle modules we know have been loaded already, and
to scan module-level imports only, rather than imports occurring in
class and function scope (crappy heuristic, but assume they are lazy
imports).

The ast and compiler modules were far too slow, whereas this version can
bytecode compile and scan all the imports for django.db.models (58
modules) in around 200ms.. 3.4ms per dependency, it's probably not going
to get much faster than that.
7 years ago
docs Remove final vestiges of context.key. 7 years ago
examples Fixup ansible_demo.py for recent Ansibles 7 years ago
mitogen issue #19: second attempt at import scanner 7 years ago
tests Add README.md to tests subdir. 7 years ago
.gitignore Initial commit. 7 years ago
README.md Add instructions for running tests. 7 years ago
dev_requirements.txt docs: Use sphinx-programoutput plugin for preamble_size.py 7 years ago
preamble_size.py fakessh: add to preamble_size.py 7 years ago
setup.py Initial commit. 7 years ago

README.md

Running The Tests

Your computer should have an Internet connection, and the docker command line tool should be able to connect to a working Docker daemon (localhost or elsewhere for OS X etc.) that can run new images.

The IP address of the Docker daemon must allow exposing ports from running containers, e.g. it should not be firewalled or port forwarded.

If in doubt, just install Docker on a Linux box in the default configuration and run the tests there.