from setuptools import setup

setup(
    name='SedLex',
    version='0.1',
    install_requires=[
        'html5lib',
        'beautifulsoup4',
        'requests',
        'jinja2',
        'python-gitlab',
        'PyGithub'
    ],
    scripts=[
        'bin/sedlex'
    ]
)

from setuptools import setup

setup(
    name='SedLex',
    version='0.1',
    install_requires=[
        'html5lib',
        'beautifulsoup4',
        'requests',
        'jinja2',
        'python-gitlab',
        'PyGithub'
    ],
    packages=[
        'sedlex'
    ],
    scripts=[
        'bin/sedlex'
    ]
)

Declare sedlex as a package in setup.py.