forked from vaidik/commentjson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (27 loc) · 976 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
from __future__ import with_statement
import os
import sys
from setuptools import setup, find_packages
__version__ = '.'.join(map(str, (0, 3)))
install_requires = []
if sys.version_info <= (2, 6):
install_requires.append('simplejson')
description = ''
path = lambda fname: os.path.join(os.path.dirname(__file__), fname)
for file_ in ('README',):
with open(path('%s.rst' % file_)) as f:
description += f.read() + '\n\n'
classifiers = ["Programming Language :: Python"]
setup(name='commentjson',
version=__version__,
url='https://github.com/vaidik/commentjson',
packages=find_packages(),
long_description=description,
description=("Add Python style comments in your JSON files."),
author="Vaidik Kapoor",
author_email="kapoor.vaidik@gmail.com",
include_package_data=True,
zip_safe=False,
classifiers=classifiers,
install_requires=install_requires,
test_suite='commentjson.tests')