Benchmarking tool for OpenStack Swift
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

setup.py 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #!/usr/bin/python
  2. # Copyright (c) 2010-2012 OpenStack, LLC.
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  13. # implied.
  14. # See the License for the specific language governing permissions and
  15. # limitations under the License.
  16. from setuptools import setup, find_packages
  17. from swiftbench import __version__ as version
  18. name = 'swift-bench'
  19. with open('requirements.txt', 'r') as f:
  20. requires = [x.strip() for x in f if x.strip()]
  21. setup(
  22. name=name,
  23. version=version,
  24. description='Benchmark tool for OpenStack Swift',
  25. license='Apache License (2.0)',
  26. author='OpenStack',
  27. author_email='openstack-discuss@lists.openstack.org',
  28. url='http://openstack.org',
  29. packages=find_packages(exclude=['test', 'bin']),
  30. test_suite='nose.collector',
  31. classifiers=[
  32. 'Development Status :: 5 - Production/Stable',
  33. 'License :: OSI Approved :: Apache Software License',
  34. 'Operating System :: POSIX :: Linux',
  35. 'Programming Language :: Python',
  36. 'Programming Language :: Python :: 2.7',
  37. 'Environment :: No Input/Output (Daemon)',
  38. 'Environment :: OpenStack',
  39. ],
  40. install_requires=requires,
  41. scripts=[
  42. 'bin/swift-bench',
  43. 'bin/swift-bench-client',
  44. ],
  45. )