Skip to content

[BUG] Invalid string type when reading declarative setup.cfg under Python 2 #1136

@webknjaz

Description

@webknjaz

Hi,

I'm seeing the following error:

error: 'egg_base' must be a directory name (got `src`)

The config contains:

[options]
...
package_dir =
     = src

Contents of package_dir is

{u'': u'src'}

(I've worked around this by manually reading config and patching this applying str() to keys and vars)

Python: 2.7
OS: GNU/Linux

The issue appears to be the same as for:

Metadata

Metadata

Assignees

Labels

Needs TriageIssues that need to be evaluated for severity and status.
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions