Just use d2to1 via hooks mechanism.
It turns out we can just have only our code and use d2to1 directly. Change-Id: I4700ad51bf4377797ede55d3cf5ec09f424874ed
This commit is contained in:
parent
37e0c76693
commit
0b5735cb3d
@ -22,8 +22,6 @@ packages =
|
||||
namespace_packages =
|
||||
oslo
|
||||
|
||||
[entry_points]
|
||||
distutils.setup_keywords =
|
||||
oslo_packaging = oslo.packaging.core:setup
|
||||
oslo.packaging.attr_filters =
|
||||
oslo_packaging = oslo.packaging.packaging:attr_filter
|
||||
[global]
|
||||
setup-hooks =
|
||||
oslo.packaging.hooks.setup_hook
|
||||
|
10
setup.py
10
setup.py
@ -16,10 +16,6 @@
|
||||
|
||||
import setuptools
|
||||
|
||||
# See setup.cfg for the project metadata.
|
||||
from oslo.packaging import util
|
||||
|
||||
|
||||
# Use our internals directly, so that we don't chicken-and-egg needing to
|
||||
# install an entry point before using ourself.
|
||||
setuptools.setup(**util.filtered_args())
|
||||
setuptools.setup(
|
||||
setup_requires = ['d2to1'],
|
||||
d2to1 = True)
|
||||
|
Loading…
Reference in New Issue
Block a user