Got the tree set for debian packaging.

This commit is contained in:
Monty Taylor 2010-07-28 08:32:40 +00:00 committed by Tarmac
commit 3187d555c4
10 changed files with 54 additions and 49 deletions

0
CA/INTER/.placeholder Normal file
View File

0
CA/reqs/.placeholder Normal file
View File

21
MANIFEST.in Normal file
View File

@ -0,0 +1,21 @@
include HACKING LICENSE run_tests.py run_tests.sh
include README builddeb.sh exercise_rsapi.py
graft CA
graft doc
graft smoketests
graft tools
include nova/auth/novarc.template
include nova/auth/slap.sh
include nova/cloudpipe/bootscript.sh
include nova/cloudpipe/client.ovpn.template
include nova/compute/fakevirtinstance.xml
include nova/compute/interfaces.template
include nova/compute/libvirt.xml.template
include nova/tests/CA/
include nova/tests/CA/cacert.pem
include nova/tests/CA/private/
include nova/tests/CA/private/cakey.pem
include nova/tests/bundle/
include nova/tests/bundle/1mb.manifest.xml
include nova/tests/bundle/1mb.part.0
include nova/tests/bundle/1mb.part.1

View File

@ -1,40 +0,0 @@
venv=.nova-venv
with_venv=tools/with_venv.sh
build:
# Nothing to do
default_test_type:= $(shell if [ -e $(venv) ]; then echo venv; else echo system; fi)
test: test-$(default_test_type)
test-venv: $(venv)
$(with_venv) python run_tests.py
test-system:
python run_tests.py
clean:
rm -rf _trial_temp
rm -rf keys
rm -rf instances
rm -rf networks
rm -f run_tests.err.log
clean-all: clean
rm -rf $(venv)
MANIFEST.in:
[ -d .bzr ] || (echo "Must be a bzr checkout" ; exit 1)
bzr ls --kind=file -VR | while read f; do echo include "$$f"; done > $@
sdist: MANIFEST.in
python setup.py sdist
$(venv):
@echo "You need to install the Nova virtualenv before you can run this."
@echo ""
@echo "Please run tools/install_venv.py"
@exit 1
.PHONY: MANIFEST.in

0
doc/build/.placeholder vendored Normal file
View File

View File

View File

13
run_tests.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
venv=.nova-venv
with_venv=tools/with_venv.sh
if [ -e ${venv} ]; then
${with_venv} python run_tests.py
else
echo "You need to install the Nova virtualenv before you can run this."
echo ""
echo "Please run tools/install_venv.py"
exit 1
fi

View File

@ -1,4 +1,10 @@
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
build-dir = doc/build
all_files = 1
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0

View File

@ -16,19 +16,24 @@
# License for the specific language governing permissions and limitations
# under the License.
import glob
import os
import sys
from setuptools import setup, find_packages
srcdir = os.path.join(os.path.dirname(sys.argv[0]), 'src')
setup(name='nova',
version='0.9.0',
description='cloud computing fabric controller',
author='OpenStack',
author_email='nova@lists.launchpad.net',
url='http://www.openstack.org/',
packages = find_packages(),
packages = find_packages(exclude=['bin','smoketests']),
scripts=['bin/nova-api',
'bin/nova-compute',
'bin/nova-dhcpbridge',
'bin/nova-import-canonical-imagestore',
'bin/nova-instancemonitor',
'bin/nova-manage',
'bin/nova-network',
'bin/nova-objectstore',
'bin/nova-rsapi',
'bin/nova-volume',
]
)