On Fri, Apr 10, 2015 at 02:57:00PM -0500, Terry Wilson wrote: > This adds very basic support for setuptools so that the OVS Python > lib can be added to PyPI. > > This currently uses the Open vSwitch version number and the > generated dirs.py, though there is no real reason to tie the > Python libraries releases or version numbers to the main project's. > --- > Reposting this patch with the correct date. Apparently my dev VM > had a date of Mar 28, causing the patch to show up in the past. > My apologies for the multiple posts.
Thanks. I'll comment separately in the thread about moving the Python code into a separate repo. I added your S-o-b and the two acks and applied this to master. I didn't test it. I had to fold in the following change to get it to build: diff --git a/python/automake.mk b/python/automake.mk index 7053eff..3a7f040 100644 --- a/python/automake.mk +++ b/python/automake.mk @@ -41,6 +41,11 @@ EXTRA_DIST += \ python/build/__init__.py \ python/build/nroff.py +# PyPI support. +EXTRA_DIST += \ + python/README.rst \ + python/setup.py + PYFILES = $(ovs_pyfiles) python/ovs/dirs.py $(ovstest_pyfiles) EXTRA_DIST += $(PYFILES) PYCOV_CLEAN_FILES += $(PYFILES:.py=.py,cover) _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev