You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/media-video/openshot/files/openshot-3.1.1-fix-pybuild....

32 lines
997 B

diff --git a/setup.py b/setup.py
index ee7a13f..549ecbd 100644
--- a/setup.py
+++ b/setup.py
@@ -29,7 +29,7 @@ import os
import sys
import fnmatch
import subprocess
-from setuptools import setup
+from setuptools import setup, find_namespace_packages
from shutil import copytree, rmtree, copy
@@ -54,7 +54,7 @@
log.info("Execution path: %s" % os.path.abspath(__file__))
# Boolean: running as root?
-ROOT = os.geteuid() == 0
+ROOT = False
# For Debian packaging it could be a fakeroot so reset flag to prevent execution of
# system update services for Mime and Desktop registrations.
# The debian/openshot.postinst script must do those.
@@ -105,7 +105,7 @@ package_data["openshot_qt"] = src_files
# Call the main Distutils setup command
# -------------------------------------
dist = setup(
- packages=[('openshot_qt')],
+ packages=find_namespace_packages(include=[('openshot_qt*')]),
package_data=package_data,
data_files=os_files,
include_package_data=True,