-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove versioning code * add setuptools_scm table
- Loading branch information
Showing
2 changed files
with
6 additions
and
24 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 |
---|---|---|
|
@@ -4,28 +4,8 @@ | |
# !python3 | ||
""" | ||
Initialize modules | ||
Author: Joe Filippazzo, [email protected] | ||
""" | ||
import re | ||
|
||
from .catalog import Catalog | ||
from .sed import SED, VegaSED | ||
from .spectrum import Spectrum, FileSpectrum, Vega, Blackbody | ||
from .modelgrid import ModelGrid, BTSettl, SpexPrismLibrary | ||
|
||
__version_commit__ = '' | ||
_regex_git_hash = re.compile(r'.*\+g(\w+)') | ||
|
||
__version__ = '1.2.5' | ||
|
||
# from pkg_resources import get_distribution, DistributionNotFound | ||
# try: | ||
# __version__ = get_distribution(__name__).version | ||
# except DistributionNotFound: | ||
# __version__ = 'dev' | ||
|
||
if '+' in __version__: | ||
commit = _regex_git_hash.match(__version__).groups() | ||
if commit: | ||
__version_commit__ = commit[0] | ||
from sedkit.catalog import Catalog | ||
from sedkit.sed import SED, VegaSED | ||
from sedkit.spectrum import Spectrum, FileSpectrum, Vega, Blackbody | ||
from sedkit.modelgrid import ModelGrid, BTSettl, SpexPrismLibrary |