from setuptools import setup, find_packages

setup(
    name="shell-complete",
    description="Part of source{d}'s stack for machine learning on source "
                "code. Provides API and tools to train and use models for "
                "predicting next shell commands.",
    version="0.1.0",
    license="Apache 2.0",
    author="source{d}",
    author_email="machine-learning@sourced.tech",
    url="https://github.com/src-d/shell-complete",
    download_url='https://github.com/src-d/shell-complete',
    packages=find_packages(exclude=("shcomplete.tests",)),
    keywords=["machine learning on source code", "shell", "bash"],
    install_requires=["modelforge>=0.1.0-alpha", ],
    package_data={"": ["LICENSE", "README.md"]},
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: POSIX",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Topic :: Software Development :: Libraries"
    ]
)

@@ -1,8 +1,19 @@
+import sys%0A
 from set
@@ -49,16 +49,96 @@
 ckages%0A%0A
+if sys.version_info %3C (3, 5, 0):%0A    typing = %5B%22typing%22%5D%0Aelse:%0A    typing = %5B%5D%0A%0A
 setup(%0A 
@@ -724,16 +724,110 @@
 bash%22%5D,%0A
+    entry_points=%7B%0A        %22console_scripts%22: %5B%22shcomplete=shcomplete.__main__:main%22%5D,%0A    %7D,%0A
     inst
@@ -868,16 +868,25 @@
 lpha%22, %5D
+ + typing
 ,%0A    pa

Add entry points to setup