Skip to content

Commit

Permalink
added version file
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdboom committed Jul 18, 2022
1 parent ab17fbf commit 8d343e2
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
6 changes: 2 additions & 4 deletions atom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
"""
Automated Tool for Optimized Modelling (ATOM)
Author: Mavs
Description: Import API and declare version.
Description: Import API.
"""

from atom._version import __version__
from atom.api import ATOMClassifier, ATOMLoader, ATOMModel, ATOMRegressor


__version__ = "4.14.1"
10 changes: 10 additions & 0 deletions atom/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-

"""
Automated Tool for Optimized Modelling (ATOM)
Author: Mavs
Description: Declare version.
"""

__version__ = "4.14.1"
2 changes: 1 addition & 1 deletion atom/atom.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from scipy import stats
from typeguard import typechecked

from atom import __version__
from atom._version import __version__
from atom.basepredictor import BasePredictor
from atom.basetrainer import BaseTrainer
from atom.basetransformer import BaseTransformer
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from setuptools import setup


with open("atom/__init__.py", encoding="utf8") as f:
with open("atom/_version.py", encoding="utf8") as f:
version = re.search(r"^__version__ = \"([\d.]*)\"", f.read(), re.M).group(1)

with open("README.md", encoding="utf8") as f:
Expand Down

0 comments on commit 8d343e2

Please sign in to comment.