Skip to content

Commit

Permalink
- Updated the DisplayCAL.setup to set the package_data and ``…
Browse files Browse the repository at this point in the history
…install_package_data`` attributes for Linux too.
  • Loading branch information
eoyilmaz committed May 24, 2022
1 parent 95348df commit 41a6b11
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions DisplayCAL/setup.py
Expand Up @@ -601,8 +601,7 @@ def findall(
# (package_data will be ignored when using py2exe)
package_data = {
name: config["package_data"][name]
if sys.platform in ("darwin", "win32") and not do_py2app and not do_py2exe
else []
if not do_py2app and not do_py2exe else []
}
if sdist and sys.platform in ("darwin", "win32"):
package_data[name].extend(
Expand Down Expand Up @@ -1021,7 +1020,7 @@ def findall(
}
attrs["exclude_package_data"] = {name: ["RealDisplaySizeMM.c"]}
attrs["include_package_data"] = (
sys.platform in ("darwin", "win32") and not do_py2app
not do_py2app
)
install_requires = [req.replace("(", "").replace(")", "") for req in requires]
attrs["install_requires"] = install_requires
Expand Down

0 comments on commit 41a6b11

Please sign in to comment.