-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
40 lines (35 loc) · 1.41 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import setuptools, os
long_description = """
This is a CLI utility and pythong library for interacting with the Microsfot Graph REST API v1.0.
It provides a thin wrapper, that essentially makes REST calls to the Graph API and returns the JSON result.
It can be used as a library to create your own custom python tools that query the Graph API, and it also
comes with the executable `aq` which allows you to run queries from the command line.
It requires OAuth for access to the API, and will utilize a local web browser to obtain an access token.
Details on the Graph API v1.0 can be found on Microsoft's site
https://docs.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
"""
setuptools.setup(
name="azure-query",
version="0.0.4",
scripts=["bin/aq"],
author="John Julien",
author_email="[email protected]",
description="Command Line utility to query Azure AD",
long_description=long_description,
long_description_content_type="text/plain",
url="https://github.com/jjulien/azure-query",
packages=setuptools.find_packages('src'),
package_data={'aq': ['auth_landing_pages/*.html']},
package_dir={'': 'src'},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X"
],
install_requires=[
"PyJWT",
"requests",
"cryptography",
"six"
]
)