forked from ihiji/version_utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (46 loc) · 2.03 KB
/
setup.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
"""
setup.py module for version_utils
"""
from __future__ import (absolute_import, unicode_literals)
from pkg_resources import resource_string
from setuptools import setup, find_packages
# Get version info without importing version.py
version_info = {}
version_txt = resource_string('version_utils', 'version.py')
exec(version_txt, version_info)
long_description = ('version_utils is a pure Python convenience library for'
'parsing system package strings and comparing package '
'versions. Currently it only supports RPM/Yum, but there '
'are plans in the near future to add dpkg/Debian and '
'other packaging standards.')
setup(
name='version_utils',
version=version_info['__version__'],
description=('Library for parsing system package strings and comparing '
'package versions'),
url='http://www.github.com/ihiji/version_utils',
author='Matthew Planchard',
author_email='[email protected]',
license='License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: Plugins',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Version Control',
'Topic :: System :: Software Distribution',
'Topic :: Utilities'
],
keywords=('ihiji version compare parse rpm yum versions comparison '
'utility utilities control distribution'),
packages=find_packages(exclude=['tests'])
)