#!/usr/bin/env python

"""
{{ MODULE }}
{{ '-' * MODULE|length }}

{{ MODULE }} -- Description

"""

from os import path as op, walk

from setuptools import setup


def read(path):
    try:
        return open(op.join(op.dirname(__file__), path)).read()
    except IOError:
        return ''

package_data = []
template_path = op.join('starter', 'templates', '{{ MODULE }}')
for root, dirs, files in walk(template_path):
    if "/.env" in root:
        continue

    for fname in filter(lambda f: not f.endswith('.pyc'), files): # nolint
        fpath = op.join(root, fname)
        package_data.append(op.relpath(
            fpath,
            template_path
        ))

setup(
    name="starter.templates.{{ MODULE }}",
    version="0.1.0",
    license="BSD",
    description=read('DESCRIPTION'),
    long_description=read('README.rst'),
    platforms=('Any'),

    author='{{ AUTHOR_NAME }}',
    author_email='{{ AUTHOR_EMAIL }}',
    url='{{ MODULE_URL }}',
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
    ],

    packages=['starter', 'starter.templates',
              'starter.templates.{{ MODULE }}'],
    package_data={"starter.templates.{{ MODULE }}":
                  package_data, "starter.templates": ["{{ MODULE }}.ini"] },
    namespace_packages=["starter", "starter.templates"],
    install_requires = ["starter"],
)

11de024b3fbbe334335f912a8f739ba7c215ba72
<mask token>

<mask token>


def read(path):
    try:
        return open(op.join(op.dirname(__file__), path)).read()
    except IOError:
        return ''


<mask token>

<mask token>


def read(path):
    try:
        return open(op.join(op.dirname(__file__), path)).read()
    except IOError:
        return ''


<mask token>
for root, dirs, files in walk(template_path):
    if '/.env' in root:
        continue
    for fname in filter(lambda f: not f.endswith('.pyc'), files):
        fpath = op.join(root, fname)
        package_data.append(op.relpath(fpath, template_path))
setup(name='starter.templates.{{ MODULE }}', version='0.1.0', license='BSD',
    description=read('DESCRIPTION'), long_description=read('README.rst'),
    platforms='Any', author='{{ AUTHOR_NAME }}', author_email=
    '{{ AUTHOR_EMAIL }}', url='{{ MODULE_URL }}', classifiers=[
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent', 'Programming Language :: Python'],
    packages=['starter', 'starter.templates',
    'starter.templates.{{ MODULE }}'], package_data={
    'starter.templates.{{ MODULE }}': package_data, 'starter.templates': [
    '{{ MODULE }}.ini']}, namespace_packages=['starter',
    'starter.templates'], install_requires=['starter'])

<mask token>
from os import path as op, walk
from setuptools import setup


def read(path):
    try:
        return open(op.join(op.dirname(__file__), path)).read()
    except IOError:
        return ''


package_data = []
template_path = op.join('starter', 'templates', '{{ MODULE }}')
for root, dirs, files in walk(template_path):
    if '/.env' in root:
        continue
    for fname in filter(lambda f: not f.endswith('.pyc'), files):
        fpath = op.join(root, fname)
        package_data.append(op.relpath(fpath, template_path))
setup(name='starter.templates.{{ MODULE }}', version='0.1.0', license='BSD',
    description=read('DESCRIPTION'), long_description=read('README.rst'),
    platforms='Any', author='{{ AUTHOR_NAME }}', author_email=
    '{{ AUTHOR_EMAIL }}', url='{{ MODULE_URL }}', classifiers=[
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent', 'Programming Language :: Python'],
    packages=['starter', 'starter.templates',
    'starter.templates.{{ MODULE }}'], package_data={
    'starter.templates.{{ MODULE }}': package_data, 'starter.templates': [
    '{{ MODULE }}.ini']}, namespace_packages=['starter',
    'starter.templates'], install_requires=['starter'])

#!/usr/bin/env python

"""
{{ MODULE }}
{{ '-' * MODULE|length }}

{{ MODULE }} -- Description

"""

from os import path as op, walk

from setuptools import setup


def read(path):
    try:
        return open(op.join(op.dirname(__file__), path)).read()
    except IOError:
        return ''

package_data = []
template_path = op.join('starter', 'templates', '{{ MODULE }}')
for root, dirs, files in walk(template_path):
    if "/.env" in root:
        continue

    for fname in filter(lambda f: not f.endswith('.pyc'), files): # nolint
        fpath = op.join(root, fname)
        package_data.append(op.relpath(
            fpath,
            template_path
        ))

setup(
    name="starter.templates.{{ MODULE }}",
    version="0.1.0",
    license="BSD",
    description=read('DESCRIPTION'),
    long_description=read('README.rst'),
    platforms=('Any'),

    author='{{ AUTHOR_NAME }}',
    author_email='{{ AUTHOR_EMAIL }}',
    url='{{ MODULE_URL }}',
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
    ],

    packages=['starter', 'starter.templates',
              'starter.templates.{{ MODULE }}'],
    package_data={"starter.templates.{{ MODULE }}":
                  package_data, "starter.templates": ["{{ MODULE }}.ini"] },
    namespace_packages=["starter", "starter.templates"],
    install_requires = ["starter"],
)
