[Packaging] Exclude symlinks in the source package from installation.

It seems that `setup.py` started complaining about the installation of
non-regular files.

They seem to be created later anyway (as directories rather than
symlinks), so no further action should be required (hopefully).
This commit is contained in:
Fabio Manganiello 2024-07-17 01:13:49 +02:00
parent b312f1717f
commit 35c827ca4a
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -5,3 +5,13 @@ include platypush/config/*.yaml
include platypush/config/systemd/* include platypush/config/systemd/*
global-include manifest.json global-include manifest.json
global-include components.json.gz global-include components.json.gz
global-exclude __pycache__/*
global-exclude *.pyc
# Exclude symlinks to avoid issues with setuptools
exclude platypush/backend/http/webapp/public/icons/openweathermap/black
exclude platypush/backend/http/webapp/public/icons/openweathermap/white
exclude platypush/backend/http/webapp/src/**
exclude platypush/events
exclude platypush/install/scripts/ubuntu