-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (40 loc) · 1.62 KB
/
setup.py
File metadata and controls
46 lines (40 loc) · 1.62 KB
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
import io
import re
from setuptools import setup, find_packages
open_as_utf = lambda x: io.open(x, encoding='utf-8')
(__version__, ) = re.findall("__version__.*\s*=\s*[']([^']+)[']",
open('datadiff/__init__.py').read())
readme = re.sub(r':members:.+|..\sautomodule::.+|:class:|:func:', '', open_as_utf('README.rst').read())
readme = re.sub(r'`Settings`_', '`Settings`', readme)
readme = re.sub(r'`Contributing`_', '`Contributing`', readme)
history = re.sub(r':mod:|:class:|:func:', '', open_as_utf('HISTORY.rst').read())
setup(
name='datadifflib',
version=__version__,
description='Data difference python library',
long_description=readme + '\n\n' + history,
author='Ivan Begtin',
author_email='ivan@begtin.tech',
url='https://github.com/datacoon/datadifflib',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
install_requires=[
'bson', 'xxhash', 'click', 'jsondiff'
],
license="MIT",
zip_safe=False,
keywords='data diff bson json csv',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
]
)