-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
36 lines (30 loc) · 1.08 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
import re
import setuptools
def get_property(prop, file):
result = re.search(r'{}\s*=\s*[\'"]([^\'"]*)[\'"]'.format(prop), open(file).read())
return result.group(1)
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="jctl",
version=get_property("__version__", "jctl/jctl"),
author="The University of Utah",
author_email="[email protected]",
description="Command line tool that utilizes Python-Jamf",
license="MIT",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/univ-of-utah-marriott-library-apple/jctl",
scripts=["jctl/jctl", "jctl/pkgctl", "jctl/patch.py"],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 4 - Beta",
],
python_requires=">=3.7",
install_requires=["python-jamf>=0.9.0"],
py_modules=["jctl"],
)