import astral
import os
from setuptools import find_packages, setup

ROOT_PATH = os.path.abspath(os.path.dirname(__file__))
long_description = open(os.path.join(ROOT_PATH, 'README.rst')).read()

setup(name='astral',
      version=astral.__version__,
      description='Astral Streaming P2P Client',
      long_description=long_description,
      author='Astral Project Group',
      author_email='astral@bueda.com',
      url='http://github.com/peplin/astral',
      test_suite='nose.collector',
      setup_requires=['nose>=0.11',],
      test_requires=['unittest2>=0.5.1',
          'mockito==0.5.1',
          'python-faker==0.2.3',
          'factory-boy==1.0.0',],
      install_requires=[
          'tornado>=1.2.1',
          'importlib>=1.0.2',
          'sqlalchemy>=0.6.6',
          'Elixir>=0.7.1',
          'restkit>=3.2.0',
      ],
      packages=find_packages(),
      entry_points={
          'console_scripts': [
              'astralnode = astral.bin.astralnode:main',],
      },
)

import astral
import os
from setuptools import find_packages, setup

ROOT_PATH = os.path.abspath(os.path.dirname(__file__))
long_description = open(os.path.join(ROOT_PATH, 'README.rst')).read()

setup(name='astral',
      version=astral.__version__,
      description='Astral Streaming P2P Client',
      long_description=long_description,
      author='Astral Project Group',
      author_email='astral@bueda.com',
      url='http://github.com/peplin/astral',
      test_suite='nose.collector',
      setup_requires=['nose>=0.11',],
      test_requires=['unittest2>=0.5.1',
          'mockito==0.5.1',
          'python-faker==0.2.3',
          'factory-boy==1.0.0',],
      install_requires=[
          'tornado>=1.2.1',
          'importlib>=1.0.2',
          'sqlalchemy>=0.6.6',
          'Elixir>=0.7.1',
          'restkit>=3.2.0',
      ],
      packages=find_packages(),
      entry_points={
          'console_scripts': [
              'astralnode = astral.bin.astralnode:main',
              'astralctl = astral.bin.astralctl:main',
          ],
      },
)

Add astralctl script to console scripts section of package config.
Add astralctl script to console scripts section of package config.
