diff options
Diffstat (limited to 'pypi')
-rw-r--r-- | pypi/README | 2 | ||||
-rw-r--r-- | pypi/oslo/__init__.py | 3 | ||||
-rw-r--r-- | pypi/setup.py | 43 |
3 files changed, 48 insertions, 0 deletions
diff --git a/pypi/README b/pypi/README new file mode 100644 index 0000000..174dc4d --- /dev/null +++ b/pypi/README @@ -0,0 +1,2 @@ +This directory is just here to hold the setup.py used to register the +Oslo name on PyPI, to avoid project name collisions. diff --git a/pypi/oslo/__init__.py b/pypi/oslo/__init__.py new file mode 100644 index 0000000..9d3b5b4 --- /dev/null +++ b/pypi/oslo/__init__.py @@ -0,0 +1,3 @@ +"""Declare namespace package""" + +__import__('pkg_resources').declare_namespace(__name__) diff --git a/pypi/setup.py b/pypi/setup.py new file mode 100644 index 0000000..0183bc0 --- /dev/null +++ b/pypi/setup.py @@ -0,0 +1,43 @@ +#!/usr/bin/python +# -*- encoding: utf-8 -*- +# Copyright (c) 2012 OpenStack, LLC. +# +# 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( + name='oslo', + version='1', + description="Namespace for common components for Openstack", + long_description="Namespace for common components for Openstack", + classifiers=[ + 'Development Status :: 4 - Beta', + 'License :: OSI Approved :: Apache Software License', + 'Operating System :: POSIX :: Linux', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + 'Environment :: No Input/Output (Daemon)', + 'Environment :: OpenStack', + ], + keywords='openstack', + author='OpenStack', + author_email='openstack@lists.launchpad.net', + url='http://www.openstack.org/', + license='Apache Software License', + zip_safe=True, + packages=setuptools.find_packages(exclude=['ez_setup', + 'examples', 'tests']), + namespace_packages=['oslo'], +) |