8bce87a2bb
* Make bin/* scripts pep8 compliant * Cleanup tox.ini * Update references of old repo * Add swiftonfile-migrate-metadata to spec file Change-Id: Icfa29cffcedfc357ab860a9023b3adfdbf3eeee8 Signed-off-by: Prashanth Pai <ppai@redhat.com>
57 lines
1.9 KiB
Python
57 lines
1.9 KiB
Python
# Copyright (c) 2013 Red Hat, Inc.
|
|
#
|
|
# 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.
|
|
|
|
from setuptools import setup, find_packages
|
|
from swiftonfile.swift import _pkginfo
|
|
|
|
|
|
setup(
|
|
name=_pkginfo.name,
|
|
version=_pkginfo.full_version,
|
|
description='SwiftOnFile',
|
|
license='Apache License (2.0)',
|
|
author='Red Hat, Inc.',
|
|
author_email='gluster-users@gluster.org',
|
|
url='https://github.com/openstack/swiftonfile',
|
|
packages=find_packages(exclude=['test', 'bin']),
|
|
test_suite='nose.collector',
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable'
|
|
'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.6'
|
|
'Programming Language :: Python :: 2.7'
|
|
],
|
|
install_requires=[],
|
|
scripts=[
|
|
'bin/swiftonfile-print-metadata',
|
|
'bin/swiftonfile-migrate-metadata',
|
|
],
|
|
entry_points={
|
|
'paste.app_factory': [
|
|
'object=swiftonfile.swift.obj.server:app_factory',
|
|
],
|
|
'paste.filter_factory': [
|
|
'sof_constraints=swiftonfile.swift.common.middleware.'
|
|
'check_constraints:filter_factory',
|
|
],
|
|
},
|
|
)
|