#!/usr/bin/env python
# -*- coding: utf-8 -*-

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

import ptwit


requires = ['python-twitter>=1.0']


def readme():
    with open('README.rst') as f:
        return f.read()


setup(name='ptwit',
      version=ptwit.__version__,
      description='A simple twitter command line client',
      long_description=readme(),
      classifiers=[
          'Development Status :: 4 - Beta',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python :: 2.7',
          'Environment :: Console',
          'Intended Audience :: End Users/Desktop',
          'Topic :: Utilities'],
      url='http://github.com/ptpt/ptwit',
      author=ptwit.__author__,
      author_email='ptpttt+ptwit@gmail.com',
      keywords='twitter, command-line, client',
      license=ptwit.__license__,
      py_modules=['ptwit'],
      install_requires=requires,
      entry_points={
          'console_scripts': ['ptwit=ptwit:main']},
      zip_safe=False)

#!/usr/bin/env python
# -*- coding: utf-8 -*-

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

import ptwit


requires = ['python-twitter>=1.0']


def readme():
    with open('README.rst') as f:
        return f.read()


setup(name='ptwit',
      version=ptwit.__version__,
      description='A simple twitter command line client',
      long_description=readme(),
      classifiers=[
          'Development Status :: 4 - Beta',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python :: 2.7',
          'Environment :: Console',
          'Intended Audience :: End Users/Desktop',
          'Topic :: Utilities'],
      url='http://github.com/ptpt/ptwit',
      author=ptwit.__author__,
      author_email='ptpttt+ptwit@gmail.com',
      keywords='twitter, command-line, client',
      license=ptwit.__license__,
      py_modules=['ptwit'],
      install_requires=requires,
      entry_points={
          'console_scripts': ['ptwit=ptwit:cmd']},
      zip_safe=False)

Change the entry point to cmd
Change the entry point to cmd
