volti icon indicating copy to clipboard operation
volti copied to clipboard

Errors in setup.py

Open Arfrever opened this issue 8 years ago • 1 comments

Installation of Volti can fail when previous version of Volti is already installed.

setup.py contains:

sys.path.append(os.path.realpath("src"))

It adds src directory at the end of sys.path. site-packages directory with previous installation of Volti would be earlier in sys.path.

This line in setup.py should be changed to:

sys.path.insert(0, os.path.realpath("src"))

Arfrever avatar Sep 12 '17 15:09 Arfrever

Modules are not installed. setup.py contains:

        packages = ["volti"],
        package_dir = {"volti": "src"},

These lines should be changed to:

        packages = ["volti", "volti.gtk2", "volti.gtk3"],
        package_dir = {"": "src"},

Arfrever avatar Sep 12 '17 17:09 Arfrever