From c322f0f820e937861a043d9c8cf4df454edbca2e Mon Sep 17 00:00:00 2001 From: Michal Minar Date: Wed, 26 Feb 2014 13:44:05 +0100 Subject: unified script versions All scripts have the same version which is set in single file (VERSION). All setup.py and conf.py scripts containing these version numbers were renamed to *.skel. These skeletons are then read by makefiles and proper *.py scripts are generated out of them. --- commands/networking/setup.py.skel | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 commands/networking/setup.py.skel (limited to 'commands/networking/setup.py.skel') diff --git a/commands/networking/setup.py.skel b/commands/networking/setup.py.skel new file mode 100644 index 0000000..6dabfdd --- /dev/null +++ b/commands/networking/setup.py.skel @@ -0,0 +1,44 @@ +#!/usr/bin/env python +# -*- encoding: utf-8 -*- + +from setuptools import setup + +try: + long_description = open('README.md', 'rt').read() +except IOError: + long_description = '' + +setup( + name='openlmi-scripts-networking', + version='@@VERSION@@', + description='LMI command for network administration.', + long_description=long_description, + author=u'Radek Novacek', + author_email='rnovacek@redhat.com', + url='https://github.com/openlmi/openlmi-scripts', + download_url='https://github.com/openlmi/openlmi-scripts/tarball/master', + platforms=['Any'], + license="BSD", + classifiers=[ + 'License :: OSI Approved :: BSD License', + 'Operating System :: POSIX :: Linux', + 'Topic :: System :: Systems Administration', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', + 'Intended Audience :: Developers', + 'Environment :: Console', + ], + + install_requires=['openlmi-scripts >= 0.2.7', 'IPy'], + + namespace_packages=['lmi', 'lmi.scripts'], + packages=['lmi', 'lmi.scripts', 'lmi.scripts.networking'], + include_package_data=True, + + entry_points={ + 'lmi.scripts.cmd': [ + 'net = lmi.scripts.networking.cmd:Networking', + ], + }, + ) -- cgit