1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

setup updates

This commit is contained in:
Kelly Brazil
2019-10-15 18:03:51 -07:00
parent e83170b7ec
commit 49ce9f13e8
3 changed files with 17 additions and 20 deletions

View File

@ -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()

View File

@ -1,5 +0,0 @@
__all__ = [
'ifconfig',
'ls',
'netstat'
]

View File

@ -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',
], ]
) )