Added setup script and configuration

This commit is contained in:
Alessandro Pilotti 2013-07-14 03:12:48 +03:00
Родитель 831acc61bc
Коммит 37660b2223
2 изменённых файлов: 60 добавлений и 0 удалений

37
setup.cfg Normal file
Просмотреть файл

@ -0,0 +1,37 @@
[metadata]
name = job-runner
version = 0.1
summary = Lightweight job runner
description-file =
README.md
author = Cloudbase Solutions Srl
author-email = info@cloudbase.it
home-page = http://cloudbase.it/
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 2.6
[files]
packages =
jobrunner
jobrunner.openstack
jobrunner.openstack.common
[entry_points]
console_scripts =
cloudbase-job-publisher=jobrunner.jobpublisher:main
cloudbase-job-queue=jobrunner.jobqueue:main
cloudbase-job-worker=jobrunner.jobworker:main
[hooks]
setup-hooks =
pbr.hooks.setup_hook

23
setup.py Normal file
Просмотреть файл

@ -0,0 +1,23 @@
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2013 Cloudbase Solutions Srl
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import setuptools
setuptools.setup(
setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=0.5,<0.6'],
d2to1=True)