-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing python metadata to python2/3-libcomps
Adapted from: rpm-software-management/createrepo_c#167 setup_for_python_metadata.py uses distutils, and is used to generate egg-info metadata during building of packages.
- Loading branch information
1 parent
919c0e2
commit 972ba0a
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
from distutils.core import setup | ||
import sys | ||
|
||
# This is a simple and fragile way of passing the current version | ||
# from cmake to setup as I assume no one else will use this. | ||
# | ||
# 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 :: 2", | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.4', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
], | ||
) |