File: setup_for_python_metadata.py

package info (click to toggle)
libcomps 0.1.23-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,036 kB
  • sloc: xml: 72,530; ansic: 17,670; python: 1,482; makefile: 25; sh: 4
file content (31 lines) | stat: -rwxr-xr-x 1,145 bytes parent folder | download | duplicates (2)
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',
    ],
)