summaryrefslogtreecommitdiffstats
path: root/commands/service/setup.py.skel
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2014-02-26 13:44:05 +0100
committerMichal Minar <miminar@redhat.com>2014-03-17 12:25:52 +0100
commitc322f0f820e937861a043d9c8cf4df454edbca2e (patch)
treec90770674c0fdabfa9bec3d661e23930c34efa0c /commands/service/setup.py.skel
parent79b1b0e1935f068517acad9fb36647a6e5879f53 (diff)
downloadopenlmi-scripts-c322f0f820e937861a043d9c8cf4df454edbca2e.tar.gz
openlmi-scripts-c322f0f820e937861a043d9c8cf4df454edbca2e.tar.xz
openlmi-scripts-c322f0f820e937861a043d9c8cf4df454edbca2e.zip
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.
Diffstat (limited to 'commands/service/setup.py.skel')
-rw-r--r--commands/service/setup.py.skel43
1 files changed, 43 insertions, 0 deletions
diff --git a/commands/service/setup.py.skel b/commands/service/setup.py.skel
new file mode 100644
index 0000000..105379e
--- /dev/null
+++ b/commands/service/setup.py.skel
@@ -0,0 +1,43 @@
+#!/usr/bin/env python
+
+from setuptools import setup, find_packages
+
+try:
+ long_description = open('README.md', 'rt').read()
+except IOError:
+ long_description = ''
+
+setup(
+ name='openlmi-scripts-service',
+ version='@@VERSION@@',
+ description='LMI command for system service administration.',
+ long_description=long_description,
+ author='Michal Minar',
+ author_email='miminar@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.4'],
+
+ namespace_packages=['lmi', 'lmi.scripts'],
+ packages=['lmi', 'lmi.scripts', 'lmi.scripts.service'],
+ include_package_data=True,
+
+ entry_points={
+ 'lmi.scripts.cmd': [
+ 'service = lmi.scripts.service.cmd:Service',
+ ],
+ },
+ )