Skip to content

Commit

Permalink
2.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrosejr committed Jun 14, 2020
1 parent e766db8 commit 77ba0b2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
8 changes: 8 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,8 @@
include *.lock
include *.py
include *.txt
include Pipfile
recursive-include pyarubacentral *.py
recursive-include samplescripts *.py
recursive-include samplescripts *.sample
recursive-include samplescripts *.yml
7 changes: 5 additions & 2 deletions bin/arubacentral → bin/arubacentral.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3

import argparse
import os
import os, sys
import json

parser = argparse.ArgumentParser(description='Interact with Aruba Central')
Expand Down Expand Up @@ -76,7 +76,10 @@ def refresh(profile):

def main():
# print(args)
if args.configure == True:
if len(sys.argv)==1:
parser.print_help(sys.stderr)
sys.exit(1)
elif args.configure == True:
check_config(args)
elif args.profile:
refresh(args.profile)
Expand Down
5 changes: 5 additions & 0 deletions requirements.txt
@@ -1,2 +1,7 @@
certifi==2020.4.5.2
chardet==3.0.4
idna==2.9
pyarubacentral==2.1.3
PyYAML==5.3.1
requests==2.23.0
urllib3==1.25.9
12 changes: 6 additions & 6 deletions setup.py
Expand Up @@ -35,7 +35,7 @@
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='2.1.7', # Required
version='2.1.8', # Required

# This is a one-line description or tagline of what your project does. This
# corresponds to the "Summary" metadata field:
Expand Down Expand Up @@ -177,11 +177,11 @@
#
# For example, the following would provide a command called `sample` which
# executes the function `main` from this package when invoked:
# entry_points={ # Optional
# 'console_scripts': [
# 'sample=sample:main',
# ],
# },
entry_points={ # Optional
'console_scripts': [
'arubacentral=bin.arubacentral:main',
],
},

# List additional URLs that are relevant to your project as a dict.
#
Expand Down

0 comments on commit 77ba0b2

Please sign in to comment.