Skip to content

Commit

Permalink
updated setup.py and added more metadata to xmltjson.py
Browse files Browse the repository at this point in the history
  • Loading branch information
shanahanjrs committed Mar 21, 2017
1 parent 281ca8b commit 0e6a4f9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
import xmltojson

setup(
name='xmltojson',
name=xmltojson.__name__,
version=xmltojson.__version__,
url='https://github.com/shanahanjrs/xmltojson',
url=xmltojson.__url__,
author=xmltojson.__author__,
author_email='shanahan.jrs@gmail.com',
author_email=xmltojson.__author_email__,
license=xmltojson.__license__,
description='Simple command line tool to convert xml into json using xmltodict',
description=xmltojson.__description_long__,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
Expand All @@ -19,7 +19,7 @@
install_requires=[
'xmltodict'
],
keywords='xml to json converter',
keywords=xmltojson.__keywords__,
include_package_data=True,
packages=find_packages(),
py_modules=['xmltojson'],
Expand Down
11 changes: 8 additions & 3 deletions xmltojson.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python


"""
Simple command line tool to convert xml into json using xmltodict
"""
Expand All @@ -16,14 +15,20 @@

# --- Setup

import sys
import json
import os
import sys
import xmltodict
import json

__name__ = 'xmltojson'
__author__ = 'John Shanahan'
__author_email__ = 'shanahan.jrs@gmail.com'
__version__ = '0.1.1'
__license__ = 'Apache'
__url__ = 'https://github.com/shanahanjrs/xmltojson'
__description_long__ = """Xmltojson is a Python module and command line application to quickly convert
xml text or files into json."""
__keywords__ = 'xml to json converter'


# --- Def
Expand Down

0 comments on commit 0e6a4f9

Please sign in to comment.