fatamorgana/fatamorgana/__init__.py
Jan Petykiewicz e514ade2b1 Use fatamorgana/VERSION file to single-source version number
`import fatamorgana` inside setup.py could break if dependencies weren't
satisfied
2019-09-28 11:22:27 -07:00

33 lines
1,001 B
Python

"""
fatamorgana
fatamorgana is a python package for reading and writing to the
OASIS layout format. The OASIS format ('.oas') is the successor to
GDSII ('.gds') and boasts
- Additional primitive shapes
- Arbitrary-length integers and fractions
- Extra ways to represent arrays of repeated shapes
- Better support for arbitrary ASCII text data
- More compact data storage format
- Inline compression
fatamorana is written in pure python and only optionally depends on
numpy to speed up reading/writing.
Dependencies:
- Python 3.5 or later
- numpy (optional, no additional functionality)
"""
import pathlib
from .main import OasisLayout, Cell, XName
from .basic import NString, AString, Validation, OffsetTable, OffsetEntry, \
EOFError, SignedError, InvalidDataError, InvalidRecordError
__author__ = 'Jan Petykiewicz'
with open(pathlib.Path(__file__).parent / 'VERSION', 'r') as f:
__version__ = f.read().strip()
version = __version__