mediaserver/setup.py

50 lines
1.7 KiB
Python
Raw Permalink Normal View History

2022-04-02 15:15:35 +02:00
#!/usr/bin/env python3
2018-09-24 12:42:16 +02:00
'''KHMedia applications.
Includes scheduled recorder, music player, sound level meter and a webcam viewer
'''
from distutils.core import setup
from distutils.extension import Extension
from glob import glob
# patch distutils if it's too old to cope with the "classifiers" or
# "download_url" keywords
from sys import version
if version < '2.2.3':
from distutils.dist import DistributionMetadata
DistributionMetadata.classifiers = None
DistributionMetadata.download_url = None
if __name__ == '__main__':
setup(
name = 'mediaserver',
2024-09-17 23:01:03 +02:00
version = "4.2.2",
2018-09-24 12:42:16 +02:00
description = 'Mediacore mediaserver',
long_description = __doc__,
author = 'Miqra Engineering',
author_email='packaging@miqra.nl',
maintainer = 'Miqra Engineering Packaging',
maintainer_email = 'packaging@miqra.nl',
license='',
platforms=['posix'],
url='',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: End Users/Desktop',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Multimedia :: Sound/Audio :: Players',
],
packages=['mediaserver'],
2022-04-02 15:15:35 +02:00
package_data={'mediaserver': ['images/*', ]},
2018-09-24 12:42:16 +02:00
data_files = [
('/usr/share/mediaserver', glob('usr-share-mediaserver/*')),
('/etc/dbus-1/system.d', glob('etc/dbus-1/system.d/*')),
2024-09-17 23:01:03 +02:00
('/lib/systemd/system', glob('lib/systemd/system/*')),
2018-09-24 12:42:16 +02:00
('bin', glob('bin/*')),
('sbin', glob('sbin/*')),
],
)