Skip to content

Commit 60f8ee0

Browse files
committed
Move version into module code
1 parent fdedaa6 commit 60f8ee0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

mbed_os_tools/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15+
16+
__version__ = "0.0.1"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from distutils.core import setup
1818
from io import open
1919
from setuptools import find_packages
20+
import mbed_os_tools
2021

2122
DESCRIPTION = "The tools to build, test, and work with Mbed OS"
2223
OWNER_NAMES = "Jimmy Brisson, Brian Daniels"
@@ -30,7 +31,7 @@ def read(fname):
3031

3132
setup(
3233
name="mbed-os-tools",
33-
version="0.0.1",
34+
version=mbed_os_tools.__version__,
3435
description=DESCRIPTION,
3536
long_description=read("README.md"),
3637
author=OWNER_NAMES,

0 commit comments

Comments
 (0)