thow it in the openstack namespace
This commit is contained in:
parent
3d98ce5470
commit
d7b3ded813
|
@ -1,3 +1 @@
|
||||||
include README.rst
|
include README.rst
|
||||||
include setup.py
|
|
||||||
include novanose.py
|
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
# vim: tabstop=4 shiftwidth=4 softtabstop=4
|
||||||
|
|
||||||
|
# Copyright 2011 OpenStack LLC.
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
# This ensures the openstack namespace is defined
|
||||||
|
try:
|
||||||
|
import pkg_resources
|
||||||
|
pkg_resources.declare_namespace(__name__)
|
||||||
|
except ImportError:
|
||||||
|
import pkgutil
|
||||||
|
__path__ = pkgutil.extend_path(__path__, __name__)
|
|
@ -0,0 +1,12 @@
|
||||||
|
"""
|
||||||
|
Openstack run_tests.py style output for nosetests
|
||||||
|
"""
|
||||||
|
|
||||||
|
import logging
|
||||||
|
|
||||||
|
from nose import plugins
|
||||||
|
|
||||||
|
class Openstack(plugins.Plugin):
|
||||||
|
"""Nova style output generator"""
|
||||||
|
|
||||||
|
name = "openstack"
|
14
setup.py
14
setup.py
|
@ -1,24 +1,24 @@
|
||||||
from setuptools import setup
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
version = "0.1"
|
version = "0.1"
|
||||||
|
|
||||||
setup(name="novanose",
|
setup(name="openstack.nose",
|
||||||
version=version,
|
version=version,
|
||||||
description="nova run_tests.py style output for nosetests",
|
description="openstack run_tests.py style output for nosetests",
|
||||||
long_description=open("README.rst").read(),
|
long_description=open("README.rst").read(),
|
||||||
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
|
||||||
keywords="nose",
|
keywords="nose",
|
||||||
author="Jason K\xc3\xb6lker",
|
author="Jason K\xc3\xb6lker",
|
||||||
author_email="jason@koelker.net",
|
author_email="jason@koelker.net",
|
||||||
url="https://github.com/jkoelker/novanose",
|
url="https://github.com/jkoelker/openstack-nose",
|
||||||
license="Apache License",
|
license="Apache Software License",
|
||||||
py_modules=["novanose"],
|
packages=find_packages(exclude=["ez_setup", "examples", "tests"]),
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"nose",
|
"nose",
|
||||||
],
|
],
|
||||||
entry_points="""
|
entry_points="""
|
||||||
# -*- Entry points: -*-
|
# -*- Entry points: -*-
|
||||||
[nose.plugins.0.10]
|
[nose.plugins.0.10]
|
||||||
novanose = novanose:NovaNose
|
openstack.nose = openstack.nose:NovaNose
|
||||||
""",
|
""",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue