<reponame>nanvel/scrapy-spiderdocs<gh_stars>1-10
# -*- encoding: utf-8 -*-
"""
In order to register your app at pypi.python.org, create an account at
pypi.python.org and login, then register your new app like so:

    python setup.py register

If your name is still free, you can now make your first release but first you
should check if you are uploading the correct files:

    python setup.py sdist

Inspect the output thoroughly. There shouldn't be any temp files and if your
app includes staticfiles or templates, make sure that they appear in the list.
If something is wrong, you need to edit MANIFEST.in and run the command again.

If all looks good, you can make your first release:

    python setup.py sdist upload

For more information on creating source distributions, see
http://docs.python.org/2/distutils/sourcedist.html
"""

import os.path

from setuptools import setup, find_packages


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


setup(
    name='scrapy-spiderdocs',
    version='0.1.2',
    description="Generate spiders md documentation based on spider docstrings.",
    long_description=file_content('README.md'),
    license="The MIT License",
    platforms=['OS Independent'],
    keywords='scrapy, spiders, documentation',
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/nanvel/scrapy-spiderdocs',
    packages=find_packages(),
    entry_points={
        'scrapy.commands': [
            'spiderdocs=documented.commands.spiderdocs:Command',
        ],
    },
    install_requires=['scrapy>=1.0']
)

# -*- encoding: utf-8 -*-
"""
In order to register your app at pypi.python.org, create an account at
pypi.python.org and login, then register your new app like so:

    python setup.py register

If your name is still free, you can now make your first release but first you
should check if you are uploading the correct files:

    python setup.py sdist

Inspect the output thoroughly. There shouldn't be any temp files and if your
app includes staticfiles or templates, make sure that they appear in the list.
If something is wrong, you need to edit MANIFEST.in and run the command again.

If all looks good, you can make your first release:

    python setup.py sdist upload

For more information on creating source distributions, see
http://docs.python.org/2/distutils/sourcedist.html
"""

import os.path

from setuptools import setup, find_packages


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


setup(
    name='scrapy-spiderdocs',
    version='0.1.2',
    description="Generate spiders md documentation based on spider docstrings.",
    long_description=file_content('README.md'),
    license="The MIT License",
    platforms=['OS Independent'],
    keywords='scrapy, spiders, documentation',
    author='<NAME>',
    author_email='<EMAIL>',
    url='https://github.com/nanvel/scrapy-spiderdocs',
    packages=find_packages(),
    entry_points={
        'scrapy.commands': [
            'spiderdocs=documented.commands.spiderdocs:Command',
        ],
    },
    install_requires=['scrapy>=1.0']
)
# -*- encoding: utf-8 -*- In order to register your app at pypi.python.org, create an account at pypi.python.org and login, then register your new app like so:      python setup.py register  If your name is still free, you can now make your first release but first you should check if you are uploading the correct files:      python setup.py sdist  Inspect the output thoroughly. There shouldn't be any temp files and if your app includes staticfiles or templates, make sure that they appear in the list. If something is wrong, you need to edit MANIFEST.in and run the command again.  If all looks good, you can make your first release:      python setup.py sdist upload  For more information on creating source distributions, see http://docs.python.org/2/distutils/sourcedist.html