fix: include requirements.txt and SECURITY.md for pypi dist

Signed-off-by: Rui Chen <rui@chenrui.dev>
pull/2761/head
Rui Chen 2024-05-12 14:45:13 -04:00
parent 516b3ab478
commit fc63162515
No known key found for this signature in database
GPG Key ID: 6577287BDCA70840
2 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@ include CONTRIBUTING.md
include COPYING
include NEWS.rst
include README.rst
include SECURITY.md
include conf/glances.conf
include requirements.txt
recursive-include docs *
recursive-include glances *.py
recursive-include glances/outputs/static *

View File

@ -32,7 +32,7 @@ with open('README.rst', encoding='utf-8') as f:
def get_data_files():
data_files = [
('share/doc/glances', ['AUTHORS', 'COPYING', 'NEWS.rst', 'README.rst',
('share/doc/glances', ['AUTHORS', 'COPYING', 'NEWS.rst', 'README.rst', "SECURITY.md",
'CONTRIBUTING.md', 'conf/glances.conf']),
('share/man/man1', ['docs/man/glances.1'])
]