-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup: access version w/o __init__ to avoid circular imports (#56)
+ setup.cfg: setup the version number via `version.release_version`, instead of going through `__init__`, to avoid the circular imports that causes the pip install "ModuleNotFoundError" + setup.cfg: add `install_requires` and remove `[opptions.package_data]` to be consistent with compass + __inti__.py: use absolute module import, to be consistent with the good style from pyresample module + version.py: remove the duplicated `__version__` variable.
- Loading branch information
Showing
3 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# version info | ||
from .version import release_version as __version__ | ||
from s1reader.version import release_version as __version__ | ||
|
||
# top-level functions to be easily used | ||
from .s1_burst_slc import Sentinel1BurstSlc | ||
from .s1_reader import load_bursts | ||
from .s1_orbit import get_orbit_file_from_dir | ||
from s1reader.s1_burst_slc import Sentinel1BurstSlc | ||
from s1reader.s1_reader import load_bursts | ||
from s1reader.s1_orbit import get_orbit_file_from_dir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters