mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +02:00
setup updates
This commit is contained in:
5
jc/jc.py
5
jc/jc.py
@ -6,8 +6,9 @@ Main input module
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
import json
|
import json
|
||||||
import parsers
|
import parsers.ifconfig
|
||||||
from parsers import *
|
import parsers.ls
|
||||||
|
import parsers.netstat
|
||||||
|
|
||||||
pretty = False
|
pretty = False
|
||||||
data = sys.stdin.read()
|
data = sys.stdin.read()
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
__all__ = [
|
|
||||||
'ifconfig',
|
|
||||||
'ls',
|
|
||||||
'netstat'
|
|
||||||
]
|
|
27
setup.py
27
setup.py
@ -1,25 +1,26 @@
|
|||||||
import setuptools
|
import setuptools
|
||||||
|
|
||||||
with open("README.md", "r") as f:
|
with open('README.md', 'r') as f:
|
||||||
long_description = f.read()
|
long_description = f.read()
|
||||||
|
|
||||||
setuptools.setup(
|
setuptools.setup(
|
||||||
name="jc",
|
name='jc',
|
||||||
version="0.1",
|
version='0.1',
|
||||||
author="Kelly Brazil",
|
author='Kelly Brazil',
|
||||||
description="This tool serializes the output of popular command line tools to structured JSON output.",
|
description='This tool serializes the output of popular command line tools to structured JSON output.',
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"ifconfigparser"
|
'ifconfigparser'
|
||||||
],
|
],
|
||||||
license="MIT",
|
license='MIT',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type='text/markdown',
|
||||||
python_requires='~=3.4',
|
python_requires='~=3.4',
|
||||||
url="https://github.com/kellyjonbrazil/jc",
|
url='https://github.com/kellyjonbrazil/jc',
|
||||||
packages=setuptools.find_packages(),
|
packages=setuptools.find_packages(),
|
||||||
|
scripts=['jc/jc.py'],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Programming Language :: Python :: 3",
|
'Programming Language :: Python :: 3',
|
||||||
"License :: OSI Approved :: MIT License",
|
'License :: OSI Approved :: MIT License',
|
||||||
"Operating System :: OS Independent",
|
'Operating System :: OS Independent',
|
||||||
],
|
]
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user