Switch to pbr
Change-Id: Ic783e0330009696ac7f917ddaac1a6279063abea
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -6,3 +6,5 @@ dist/
|
||||
*.egg-info/
|
||||
.coverage
|
||||
*~
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
|
||||
26
setup.cfg
Normal file
26
setup.cfg
Normal file
@@ -0,0 +1,26 @@
|
||||
[metadata]
|
||||
name = python-ironic-inspector-client
|
||||
version = 1.0.0
|
||||
summary = Python client for Ironic Inspector
|
||||
description-file = README.rst
|
||||
home-page = https://launchpad.net/python-ironic-inspector-client
|
||||
license = Apache-2
|
||||
classifier =
|
||||
Environment :: Console
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Developers
|
||||
Intended Audience :: Information Technology
|
||||
License :: OSI Approved :: Apache Software License
|
||||
Operating System :: OS Independent
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 2
|
||||
Programming Language :: Python :: 3
|
||||
[files]
|
||||
packages =
|
||||
ironic_inspector_client
|
||||
[entry_points]
|
||||
openstack.cli.extension =
|
||||
baremetal-introspection = ironic_inspector_client.shell
|
||||
openstack.baremetal_introspection.v1 =
|
||||
baremetal_introspection_start = ironic_inspector_client.shell:StartCommand
|
||||
baremetal_introspection_status = ironic_inspector_client.shell:StatusCommand
|
||||
40
setup.py
40
setup.py
@@ -1,42 +1,8 @@
|
||||
import re
|
||||
#!/usr/bin/env python
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
try:
|
||||
# Distributions have to delete *requirements.txt
|
||||
with open('requirements.txt', 'r') as fp:
|
||||
install_requires = [re.split(r'[<>=~]', line)[0]
|
||||
for line in fp if line.strip()]
|
||||
except EnvironmentError:
|
||||
print("No requirements.txt, not handling dependencies")
|
||||
install_requires = []
|
||||
|
||||
|
||||
setup(
|
||||
name = "python-ironic-inspector-client",
|
||||
version = "1.0.0",
|
||||
description = open('README.rst', 'r').readline().strip(),
|
||||
author = "Dmitry Tantsur",
|
||||
author_email = "dtantsur@redhat.com",
|
||||
url = "https://pypi.python.org/pypi/python-ironic-inspector-client",
|
||||
packages = ['ironic_inspector_client', 'ironic_inspector_client.test'],
|
||||
install_requires = install_requires,
|
||||
entry_points = {
|
||||
'openstack.cli.extension': [
|
||||
'baremetal-introspection = ironic_inspector_client.shell',
|
||||
],
|
||||
'openstack.baremetal_introspection.v1': [
|
||||
"baremetal_introspection_start = ironic_inspector_client.shell:StartCommand",
|
||||
"baremetal_introspection_status = ironic_inspector_client.shell:StatusCommand",
|
||||
],
|
||||
},
|
||||
classifiers = [
|
||||
'Development Status :: 5 - Production/Stable',
|
||||
'Environment :: OpenStack',
|
||||
'Intended Audience :: System Administrators',
|
||||
'License :: OSI Approved :: Apache Software License',
|
||||
'Operating System :: POSIX',
|
||||
],
|
||||
license = 'APL 2.0',
|
||||
setup_requires=['pbr'],
|
||||
pbr=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user