Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a82e2e7

Browse files
committed
Add setup.py
1 parent 08c7fc9 commit a82e2e7

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

setup.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import setuptools
2+
import os.path
3+
import subprocess
4+
5+
# Build README.txt from README.md if not present
6+
if not os.path.exists('README.txt'):
7+
subprocess.call(['pandoc', '--to=rst', '--smart', '--output=README.txt', 'README.md'])
8+
9+
setuptools.setup(
10+
name='jsonpath-rw',
11+
version='0.1',
12+
description='A robust and extended implementation of JSONPath with read and update capability, and a clear AST',
13+
author='Kenneth Knowles',
14+
author_email='[email protected]',
15+
url='https://github.com/kennknowles/python-jsonpath-rw',
16+
license='Apache 2.0',
17+
long_description=open('README.txt').read(),
18+
packages = ['jsonpath_rw'],
19+
test_suite = 'tests',
20+
install_requires = [ 'ply', 'decorator' ],
21+
)

0 commit comments

Comments
 (0)