Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python diff-match-patch isn't listed on PyPI #45

Open
GoogleCodeExporter opened this issue Apr 12, 2016 · 4 comments
Open

Python diff-match-patch isn't listed on PyPI #45

GoogleCodeExporter opened this issue Apr 12, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

It would be extremely handy if users could use "pip install diff-match-patch" 
or "easy_install diff-match-patch" to install install the Python library from 
http://pypi.python.org/

Original issue reported on code.google.com by adamsc@gmail.com on 13 Apr 2011 at 1:48

@GoogleCodeExporter
Copy link
Author

I would be happy to create a setup.py for this. However, the distributed files 
in their current form are not particularly suitable for PyPI distribution. I 
would suggest some separate zips/tarballs for Python 2 and Python 3.

I'm thinking of creating my own packages and registering them on PyPI. I know 
this is Open Source and it's allowed, but I thought I'd check here if there are 
any objections first.

Original comment by L.Plant...@cantab.net on 6 Sep 2011 at 12:14

@GoogleCodeExporter
Copy link
Author

We found a distribution someplace else and have continued to use it the 
setup.py from that package with just the diff-match-patch.py and put it on our 
own distribution area to work around this. Works for our purposes, but I agree 
that it would be nice to have a proper pypi distribution.

from setuptools import setup

setup(
    name='diff-match-patch',
    version='20110217',
    author='Neil Fraser',
    url='http://code.google.com/p/google-diff-match-patch/',
    py_modules=['diff_match_patch'],
    test_suite='diff_match_patch_test.DiffMatchPatchTest',
)

Original comment by fjollb...@gmail.com on 6 Sep 2011 at 5:55

@GoogleCodeExporter
Copy link
Author

I went ahead and created a Python package:  
http://pypi.python.org/pypi/diff-match-patch/

It includes Python 2 and Python 3.

Original comment by L.Plant...@cantab.net on 8 Sep 2011 at 4:24

@GoogleCodeExporter
Copy link
Author

Thanks Luke. However I would prefer an official package, especially if 
suggesting this link to other people.

Original comment by christop...@gmail.com on 18 Nov 2011 at 10:04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant