forked from JoshData/fast_diff_match_patch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (31 loc) · 1.28 KB
/
setup.py
File metadata and controls
34 lines (31 loc) · 1.28 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
from setuptools import setup, find_packages, Extension
# Note to self: To upload a new version to PyPI, run:
# pip install wheel twine
# python setup.py sdist bdist_wheel
# twine upload dist/*
module1 = Extension('diff_match_patch',
sources = ['interface.cpp'],
include_dirs = [],
libraries = [])
setup(
name='diff_match_patch_python',
version='1.0.2',
description=u'A Python extension module that wraps Google\'s diff_match_patch C++ implementation for very fast string comparisons. Version 1.0.2 fixes a build issue on Macs.',
long_description=open("README.rst").read(),
author=u'Joshua Tauberer',
author_email=u'jt@occams.info',
url='https://github.com/JoshData/diff_match_patch-python',
packages=find_packages(),
license='CC0 (copyright waived)',
keywords="diff compare Google match patch diff_match_patch extension native C fast",
ext_modules=[module1],
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
test_suite='tests',
)