Skip to content

Incorrect filename in setup.py #3

@neptune-dev-23

Description

@neptune-dev-23

When manually installing ufw using setup.py (python2.7 ./setup.py install) the following error occurs:

error: [Errno 2] No such file or directory: 'locales/mo'

In setup.py on lines 141-143:

if len(os.listdir('locales/mo')) == 0:
    subprocess.call(["make", "mo"])
self.copy_tree('locales/mo', i18ndir)

It references the folder name and filetype as "mo" instead of "po". By changing "mo" to "po", it ran without error.

It also appears that the locales/mo folder is only created via the Makefile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions