diff options
| author | Jason Madden <jamadden@gmail.com> | 2020-11-12 11:49:12 -0600 |
|---|---|---|
| committer | Jason Madden <jamadden@gmail.com> | 2020-11-12 11:49:12 -0600 |
| commit | 8448b094d1b81788ac9cbaf86a184712f1daf5e0 (patch) | |
| tree | 34e07251b520b94f44fd40136687bb059a08e256 /src/greenlet/__init__.py | |
| parent | c80fab93073603289f41df8e32b7ecc25f37763e (diff) | |
| download | greenlet-issue184.tar.gz | |
Move to the src/ layout, and make greenlet a package.issue184
Make 'tests' become 'greenlet.tests', and be compatible with 'python -m unittest discover'.
Fixes #184. Fixes #184. Fixes #189.
Diffstat (limited to 'src/greenlet/__init__.py')
| -rw-r--r-- | src/greenlet/__init__.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/greenlet/__init__.py b/src/greenlet/__init__.py new file mode 100644 index 0000000..7e9142f --- /dev/null +++ b/src/greenlet/__init__.py @@ -0,0 +1,16 @@ +# -*- coding: utf-8 -*- +""" +The root of the greenlet package. +""" +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + +# TODO: Define a correct __all__ +# pylint:disable=unused-import +# TODO: Move the definition of __version__ here, instead of the +# C code. zest.releaser will find it here, but not in C. + +from ._greenlet import * # pylint:disable=wildcard-import +from ._greenlet import __version__ +from ._greenlet import _C_API # pylint:disable=no-name-in-module |
