Type error during execution of setup.py

Bug #1830640 reported by Leo Hal on 2019-05-27
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

The field package_data should contain lists, not tuples.
This typo was introduced in a recent commit.

diff --git a/setup.py b/setup.py
index e924cec..c95aa41 100644
--- a/setup.py
+++ b/setup.py
@@ -224,7 +224,7 @@ Metapost compilation).\
         "rubber" : "src",
     package_data = {
- "rubber" : ("rules.ini", ),
+ "rubber" : ["rules.ini", ],
     scripts = (

Florian Schmaus (flowdalic) wrote :

I propose this patch, which is basically what the original reporter suggested, but without the unnecessary semicolon.

Changed in rubber:
importance: Undecided → High
milestone: none → 1.6
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers