Use console_scripts entry_point instead of scripts
import codecs
from setuptools import find_packages, setup

import digestive


setup(
    name='digestive',
    version=digestive.__version__,
    url='https://github.com/akaIDIOT/Digestive',
    packages=find_packages(),
    description='TODO',
    author='Mattijs Ugen',
    author_email=codecs.encode('nxnvqvbg@hfref.abercyl.tvguho.pbz', 'rot_13'),
    license='ISC',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'License :: OSI Approved :: ISC License (ISCL)',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],
    tests_require=['pytest'],
    entry_points={
        'console_scripts': {
            'digestive = digestive.main:main'
        }
    }
)

import codecs
from setuptools import find_packages, setup

import digestive


setup(
    name='digestive',
    version=digestive.__version__,
    url='https://github.com/akaIDIOT/Digestive',
    packages=find_packages(),
    description='TODO',
    author='Mattijs Ugen',
    author_email=codecs.encode('nxnvqvbg@hfref.abercyl.tvguho.pbz', 'rot_13'),
    license='ISC',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'License :: OSI Approved :: ISC License (ISCL)',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],
    tests_require=['pytest'],
    scripts=['bin/digestive'],  # TODO: turn this into an entry_points=
)
