|
Revision 175, 495 bytes
(checked in by fdb, 14 months ago)
|
|
vdiff and two compliance tests for NodeBox?.
|
| Line | |
|---|
| 1 | # This file is obsolete. |
|---|
| 2 | # NodeBox now uses a package structure. |
|---|
| 3 | # The drawing primitives are now in the new "nodebox.graphics" package. |
|---|
| 4 | # This will also ensure you get the graphics package for the correct platform. |
|---|
| 5 | |
|---|
| 6 | import nodebox.graphics.cocoa |
|---|
| 7 | from nodebox.graphics.cocoa import * |
|---|
| 8 | from nodebox.util import * |
|---|
| 9 | |
|---|
| 10 | __all__ = nodebox.graphics.cocoa.__all__ |
|---|
| 11 | |
|---|
| 12 | import warnings |
|---|
| 13 | warnings.warn('DrawingPrimitives is deprecated. Please use "from nodebox import graphics"', DeprecationWarning, stacklevel=2) |
|---|