Skip to content

Commit

Permalink
allow for print(pymavlink.__version__)
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Feb 18, 2022
1 parent adc5921 commit df6e4d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
'''Python MAVLink library - see https://mavlink.io/en/'''
__version__ = '2.4.25'
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
from setuptools import setup, Extension
import glob, os, shutil, fnmatch, platform, sys

version = '2.4.25'

sys.path.insert(0, os.path.dirname(__file__))
from __init__ import __version__

def generate_content():
# generate the file content...
Expand Down Expand Up @@ -107,7 +107,7 @@ def run(self):


setup (name = 'pymavlink',
version = version,
version = __version__,
description = 'Python MAVLink code',
long_description = ('A Python library for handling MAVLink protocol streams and log files. This allows for the '
'creation of simple scripts to analyse telemetry logs from autopilots such as ArduPilot which use '
Expand Down

0 comments on commit df6e4d7

Please sign in to comment.