forked from rpm-software-management/libcomps
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_for_python_metadata.py
More file actions
executable file
·31 lines (29 loc) · 1.12 KB
/
Copy pathsetup_for_python_metadata.py
File metadata and controls
executable file
·31 lines (29 loc) · 1.12 KB
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
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='rpm-ecosystem@lists.rpm.org',
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.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)