Pin napalm-base
Eliminate pylama.ini; replace with setup.cfg Add requirements-dev.txt Implement __version__ solution
This commit is contained in:
1 parent
9d805f8f3b
commit
225b3256fc
5 files changed
+26
-8
No files matched your search
@@ -13,4 +13,15 @@
|
||||
# the License.
|
||||
|
||||
"""napalm_fortios package."""
|
||||
from fortios import FortiOSDriver
|
||||
# Import stdlib
|
||||
import pkg_resources
|
||||
|
||||
# Import local modules
|
||||
from napalm_fortios.fortios import FortiOSDriver
|
||||
|
||||
try:
|
||||
__version__ = pkg_resources.get_distribution('napalm-fortios').version
|
||||
except pkg_resources.DistributionNotFound:
|
||||
__version__ = "Not installed"
|
||||
|
||||
__all__ = ('FortiOSDriver',)
|
||||
Reference in new issue
Block a user