This repository has been archived by the owner on Jan 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (49 loc) · 1.6 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
import os
import sys
from composite.version import get_release
py_version = sys.version_info
version = get_release()
readme = os.path.join(os.path.dirname(__file__), 'README.rst')
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Natural Language :: English',
'Topic :: Utilities',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
]
install_requires = [
'six',
'lxml',
]
if isinstance(py_version, tuple):
if py_version < (2, 7):
install_requires.append('importlib')
setup(
name='python-composite',
author='Nickolas Fox <tarvitz@blacklibrary.ru>',
version=version,
author_email='tarvitz@blacklibrary.ru',
download_url='https://github.com/tarvitz/composite/archive/master.zip',
description='Declarative work with nested documents '
'(JSON, XML, etc)',
long_description=open(readme).read(),
license='MIT license',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=install_requires,
packages=find_packages(exclude=['tests', 'docs', 'documents']),
test_suite='tests',
include_package_data=True,
zip_safe=False)