Making contrib a Python package
Change-Id: Ibfde2e5cbececeec0b6a17f7d71da207f582a5c7
This commit is contained in:
parent
82d3099a08
commit
b3f48f7064
@ -134,6 +134,10 @@ class OpenStackComputeShell(object):
|
||||
extensions = []
|
||||
for ext_path in glob.iglob(ext_glob):
|
||||
name = os.path.basename(ext_path)[:-3]
|
||||
|
||||
if name == "__init__":
|
||||
continue
|
||||
|
||||
ext_module = imp.load_source(name, ext_path)
|
||||
|
||||
# Extract Manager class
|
||||
|
0
novaclient/v1_1/contrib/__init__.py
Normal file
0
novaclient/v1_1/contrib/__init__.py
Normal file
2
setup.py
2
setup.py
@ -35,7 +35,7 @@ setuptools.setup(
|
||||
long_description=read_file("README.rst"),
|
||||
license="Apache License, Version 2.0",
|
||||
url="https://github.com/openstack/python-novaclient",
|
||||
packages=["novaclient", "novaclient.v1_0", "novaclient.v1_1"],
|
||||
packages=["novaclient", "novaclient.v1_1", "novaclient.v1_1.contrib"],
|
||||
install_requires=requirements,
|
||||
tests_require=["nose", "mock"],
|
||||
test_suite="nose.collector",
|
||||
|
Loading…
Reference in New Issue
Block a user