Type error during execution of setup.py

Bug #1830640 reported by Leo Hal
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Rubber
Fix Committed
High
Unassigned

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 = (
         "rubber",

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.