-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
38 lines (34 loc) · 1.01 KB
/
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import os
from setuptools import setup, find_packages
def read_file(filename):
basepath = os.path.dirname(os.path.dirname(__file__))
filepath = os.path.join(basepath, filename)
if os.path.exists(filepath):
return open(filepath).read()
else:
return ''
setup (
name='mjson',
version='0.3.1',
description='Extended "python -mjson.tool"',
long_description=read_file('README.txt'),
author='kjirou',
author_email='sorenariblog@gmail.com',
url='https://github.com/kjirou/python-mjson',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
packages=find_packages(),
keywords=['json', 'tool', 'command'],
license='MIT License',
entry_points={
'console_scripts': [
'mjson=mjson.tool:main',
],
},
)