"""Open-ovf installer"""

import os
from distutils.core import setup

CODE_BASE_DIR = 'py'
SCRIPTS_DIR = 'py/scripts/'

def list_scripts():
    """List all scripts that should go to /usr/bin"""

    file_list = os.listdir(SCRIPTS_DIR)
    return [os.path.join(SCRIPTS_DIR, f) for f in file_list]

setup(name='open-ovf',
        version='0.1',
        description='OVF implementation',
        url='http://open-ovf.sourceforge.net',
        license='EPL',
        packages=['ovf', 'ovf.commands'],
        package_dir = {'': CODE_BASE_DIR},
        scripts=list_scripts(),
      )


"""Open-ovf installer"""

import os
from distutils.core import setup

CODE_BASE_DIR = 'py'
SCRIPTS_DIR = 'py/scripts/'

def list_scripts():
    """List all scripts that should go to /usr/bin"""

    file_list = os.listdir(SCRIPTS_DIR)
    return [os.path.join(SCRIPTS_DIR, f) for f in file_list]

setup(name='open-ovf',
        version='0.1',
        description='OVF implementation',
        url='http://open-ovf.sourceforge.net',
        license='EPL',
        packages=['ovf', 'ovf.commands', 'ovf.env'],
        package_dir = {'': CODE_BASE_DIR},
        scripts=list_scripts(),
      )


Add env subdirectory to package list
Add env subdirectory to package list

Hi,

This patch adds the ovf/env subdirectory to the package list so that
setup.py installs it properly.

Signed-off-by: David L. Leskovec <376f07f909b7d4aee248a1433ee4548cc2bf1d1b@linux.vnet.ibm.com>
Signed-off-by: Scott Moser <f411aed5b71f5ab75e7f202cdde1f0f4410975aa@linux.vnet.ibm.com>
