Pin napalm-base

Eliminate pylama.ini; replace with setup.cfg
Add requirements-dev.txt
Implement __version__ solution
This commit is contained in:
Kirk Byers committed 2016-10-14 12:53:03 -07:00
1 parent 9d805f8f3b
commit 225b3256fc
5 files changed
+26 -8

No files matched your search

+12 -1
View File
@@ -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',)