diff --git a/MANIFEST.in b/MANIFEST.in index bfb5bb0..98e1dd3 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -7,3 +7,5 @@ recursive-include scripts * recursive-include po *.po *.pot Makefile recursive-include initial_setup *.py *.glade recursive-exclude modules *.pyc *.pyo +include data/10-initial-setup.conf +include pam/initial-setup diff --git a/initial-setup.spec b/initial-setup.spec index e415775..0bdff5b 100644 --- a/initial-setup.spec +++ b/initial-setup.spec @@ -1,5 +1,6 @@ # Enable X11 for RHEL 9 and older only %bcond x11 %[0%{?rhel} && 0%{?rhel} < 10] +%bcond glade %[%{undefined rhel} && %{undefined eln}] Name: initial-setup Summary: Initial system configuration utility @@ -23,7 +24,9 @@ BuildRequires: gettext BuildRequires: python3-devel BuildRequires: systemd-units BuildRequires: gtk3-devel +%if %{with glade} BuildRequires: glade-devel +%endif BuildRequires: intltool BuildRequires: make diff --git a/pyproject.toml b/pyproject.toml index 8042c97..4b63b04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=61.0", "wheel"] +requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" [project] @@ -29,7 +29,7 @@ Repository = "https://github.com/rhinstaller/initial-setup" issues = "https://github.com/rhinstaller/initial-setup/issues" [tool.setuptools.packages.find] -exclude = ["po*", "scripts*", "systemd*", "tests*"] +exclude = ["po*", "scripts*", "systemd*", "tests*", "data*", "pam*"] [tool.setuptools.package-data] "*" = ["*.glade"]