import os
import sys
import imp
from setuptools import find_packages

try:
    from restricted_pkg import setup
except:
    # allow falling back to setuptools only if
    # we are not trying to upload
    if 'upload' in sys.argv:
        raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
    from setuptools import setup

requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))

setup(
    name='dusty',
    version='0.0.1',
    description='Docker-based development environment manager',
    url='https://github.com/gamechanger/dusty',
    private_repository='gamechanger',
    author='GameChanger',
    author_email='travis@gamechanger.io',
    packages=find_packages(),
    install_requires=requirements.install_requires,
    tests_require=requirements.test_requires,
    test_suite="nose.collector",
    entry_points={'console_scripts':
                  ['dustyd = dusty.daemon:main']},
    zip_safe=False
)

import os
import sys
import imp
from setuptools import find_packages

try:
    from restricted_pkg import setup
except:
    # allow falling back to setuptools only if
    # we are not trying to upload
    if 'upload' in sys.argv:
        raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
    from setuptools import setup

requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))

setup(
    name='dusty',
    version='0.0.1',
    description='Docker-based development environment manager',
    url='https://github.com/gamechanger/dusty',
    private_repository='gamechanger',
    author='GameChanger',
    author_email='travis@gamechanger.io',
    packages=find_packages(),
    install_requires=requirements.install_requires,
    tests_require=requirements.test_requires,
    test_suite="nose.collector",
    entry_points={'console_scripts':
                  ['dustyd = dusty.daemon:main',
                   'dusty = dusty.client:main']},
    zip_safe=False
)

Add entrypoint for Dusty client
Add entrypoint for Dusty client
