import os

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup


# Utility function to read the README file, used for the long desc.
def read(fn):
    return open(os.path.join(os.path.dirname(__file__), fn)).read()


setup(
    name='planet_alignment',
    version='1.0.0',
    packages=[
        'planet_alignment',
        'planet_alignment.app',
        'planet_alignment.cmd',
        'planet_alignment.config',
        'planet_alignment.data',
        'planet_alignment.mgr',
        'planet_alignment.plugins',
        'planet_alignment.test',
        'planet_alignment.utils'
    ],
    url='https://github.com/paulfanelli/planet_alignment.git',
    license='MIT',
    author='Paul Fanelli',
    author_email='paul.fanelli@gmail.com',
    description='Planet Alignment program',
    long_description=read('README'),
    install_requires=['bunch', 'zope.interface', 'PyYAML'],
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'planet_alignment = planet_alignment.__main__:main'
        ]
    },
    include_package_data=True
)

import os

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup


# Utility function to read the README file, used for the long desc.
def read(fn):
    return open(os.path.join(os.path.dirname(__file__), fn)).read()


setup(
    name='planet_alignment',
    version='1.0.0',
    packages=[
        'planet_alignment',
        'planet_alignment.app',
        'planet_alignment.cmd',
        'planet_alignment.config',
        'planet_alignment.data',
        'planet_alignment.mgr',
        'planet_alignment.plugins',
        'planet_alignment.test',
        'planet_alignment.utils'
    ],
    url='https://github.com/paulfanelli/planet_alignment.git',
    license='MIT',
    author='Paul Fanelli',
    author_email='paul.fanelli@gmail.com',
    description='Planet Alignment program',
    long_description=read('README'),
    install_requires=['bunch', 'zope.interface', 'PyYAML'],
    tests_require=['pytest'],
    entry_points={
        'console_scripts': [
            'planet_alignment = planet_alignment.__main__:main'
        ]
    },
    include_package_data=True,
    data_files=[
        ('/etc/planet_alignment', ['align1.py', 'align2.py', 'system.yaml'])
    ]
)

Add a data_files option to install the config and plugin files in /etc/planet_alignment.
Add a data_files option to install the config and plugin files in /etc/planet_alignment.
