forked from rpm-software-management/libcomps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_for_python_metadata.py
executable file
·32 lines (30 loc) · 1.16 KB
/
setup_for_python_metadata.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from setuptools import setup
import sys
# This is a simple and fragile way of creating python metadata for non
# setuptools-guided installs (RPM builds). It's duplicate because of the
# scikit-build dependency in normal setup.py.
#
# This script has to have the version always specified as last argument.
version = sys.argv.pop()
setup(
name='libcomps',
description='Comps XML file manipulation library',
version=version,
license='GPLv2+',
author='RPM Software Management',
author_email='[email protected]',
url='https://github.com/rpm-software-management',
classifiers=[
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Operating System :: POSIX :: Linux',
'Programming Language :: C',
'Topic :: System :: Software Distribution',
'Topic :: System :: Systems Administration',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
)