konstantint / matplotlib-venn

Area-weighted venn-diagrams for Python/matplotlib
MIT License
496 stars 67 forks source link

Debian Bug #802354: setup.py AttributeError: can't set attribute #24

Closed tillea closed 8 years ago

tillea commented 8 years ago

Hi,

setup.py does not work with Python3 any more (but worked in the past):

$ python3.4 setup.py test running test Traceback (most recent call last): File "setup.py", line 56, in entry_points='' File "/usr/lib/python3.4/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.4/distutils/dist.py", line 955, in run_commands self.run_command(cmd) File "/usr/lib/python3.4/distutils/dist.py", line 973, in run_command cmd_obj.ensure_finalized() File "/usr/lib/python3.4/distutils/cmd.py", line 107, in ensure_finalized self.finalize_options() File "setup.py", line 21, in finalize_options self.test_args = [] AttributeError: can't set attribute

See also the discussion at https://bugs.debian.org/802354

Kind regards

 Andreas.
tillea commented 8 years ago

The problem can be solved by the following patch https://anonscm.debian.org/viewvc/debian-med/trunk/packages/python-matplotlib-venn/trunk/debian/patches/fix_setup_py.patch?view=markup

konstantint commented 8 years ago

Thanks!