from setuptools import setup, find_packages
setup(
    name="ToyojJudge",
    version="0.9",
    packages=find_packages(),
    install_requires=["asyncpg >= 0.11.0", "ConfigArgParse >= 0.12.0"],

    entry_points= {
        'console_scripts': [
            'toyojjudge = toyojjudge.main:main'
        ]
    },

    author = "John Chen",
    author_email = "johnchen902@gmail.com",
    description = "Toy Online Judge judge backend",
    license = "AGPL",
    url = "https://github.com/johnchen902/toyoj",
)

from setuptools import setup, find_packages
setup(
    name="ToyojJudge",
    version="0.9",
    packages=find_packages(),
    install_requires=["asyncpg >= 0.11.0", "ConfigArgParse >= 0.12.0"],

    entry_points= {
        'console_scripts': [
            'toyoj-judge = toyojjudge.main:main'
        ]
    },

    author = "John Chen",
    author_email = "johnchen902@gmail.com",
    description = "Toy Online Judge judge backend",
    license = "AGPL",
    url = "https://github.com/johnchen902/toyoj",
)

Move /usr/bin/toyojjudge to /usr/bin/toyoj-judge