-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
32 lines (28 loc) · 1005 Bytes
/
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
import setuptools
# Needs twine, setuptools, wheel, tqdm pip installed first
# python setup.py bdist_wheel
# python -m twine upload dist/*
# grab readme and use as documentation dynamically
with open("README.md", "r") as fh:
long_description = fh.read()
# grab requirements dynamically
with open('requirements.txt') as reqtext:
requirements = reqtext.read().splitlines()
setuptools.setup(
name="splunk-toolbox",
version="1.2.0",
scripts=['splunktoolbox'],
author="Patrick Hastings",
author_email="phastings@openmobo.com",
description="A wrapper around the Splunk REST API endpoint",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/gnubyte/splunk-toolbox",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent"
],
install_requires=requirements
)