forked from evidens/json2csv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
23 lines (21 loc) · 807 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
from pip.req import parse_requirements
from setuptools import setup
import uuid
# What packages are optional?
EXTRAS = {
'comments': ['jsmin'],
'jq': ['pyjq'],
}
setup(
name='json2csv-py3',
version='0.2.1',
modules=['json2csv'],
scripts=['json2csv.py'],
url='https://github.com/JeffMv/json2csv-py3',
license='MIT License',
author='evidens',
author_email='',
description='Converts JSON files to CSV (pulling data from nested structures). Useful for Mongo data. Original author: evidens (https://github.com/evidens/json2csv). New features by @JeffMv (GitHub) - @JMMvutu (Twitter)',
install_requires= [str(ir.req) for ir in parse_requirements('requirements.txt', session=uuid.uuid1())],
extras_require=EXTRAS,
)