Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include README.rst
include LICENSE
include lensfunpy/version_helper.h
include lensfunpy/py.typed
include lensfunpy/_lensfun.pyi
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ scipy

# test dependencies
pytest
mypy # for type checking and stubtest validation

# documentation dependencies
sphinx_rtd_theme
Expand Down
12 changes: 11 additions & 1 deletion lensfunpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
from __future__ import absolute_import
from __future__ import absolute_import, annotations

from typing import TYPE_CHECKING

if TYPE_CHECKING:
from lensfunpy._lensfun import (
Database, Camera, Mount, Lens, Modifier,
ModifyFlags, LensType, DistortionModel, TCAModel, VignettingModel,
LensCalibDistortion, LensCalibTCA, LensCalibVignetting,
LensfunError, XMLFormatError
)

from ._version import __version__

Expand Down
Loading
Loading