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:
Monty Taylor 2013-03-11 18:07:37 -04:00
parent 37e0c76693
commit 0b5735cb3d
2 changed files with 6 additions and 12 deletions

View File

@ -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

View File

@ -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)