
from distutils.core import setup

setup(name='Numspell',
      version='0.9',
      description='A Python module for spelling numbers',
      author='Alexei Sholik',
      author_email='alcosholik@gmail.com',
      url='https://github.com/alco/numspell',
      license="MIT",
      packages=['numspell'],
      data_files=[('/usr/bin', ['spellnum'])],
     )


from distutils.core import setup

setup(name='Numspell',
      version='0.9',
      description='A Python module for spelling numbers',
      author='Alexei Sholik',
      author_email='alcosholik@gmail.com',
      url='https://github.com/alco/numspell',
      license="MIT",
      packages=['numspell'],
      scripts=['spellnum'],
     )

Add more idiomatic (and also portable) way to install `spellnum` script
Add more idiomatic (and also portable) way to install `spellnum` script

  
  from distutils.core import setup
  
  setup(name='Numspell',
        version='0.9',
        description='A Python module for spelling numbers',
        author='Alexei Sholik',
        author_email='alcosholik@gmail.com',
        url='https://github.com/alco/numspell',
        license="MIT",
        packages=['numspell'],
-       data_files=[('/usr/bin', ['spellnum'])],
+       scripts=['spellnum'],
       )
  
Add more idiomatic (and also portable) way to install `spellnum` script
## Code Before:

from distutils.core import setup

setup(name='Numspell',
      version='0.9',
      description='A Python module for spelling numbers',
      author='Alexei Sholik',
      author_email='alcosholik@gmail.com',
      url='https://github.com/alco/numspell',
      license="MIT",
      packages=['numspell'],
      data_files=[('/usr/bin', ['spellnum'])],
     )

## Instruction:
Add more idiomatic (and also portable) way to install `spellnum` script
## Code After:

from distutils.core import setup

setup(name='Numspell',
      version='0.9',
      description='A Python module for spelling numbers',
      author='Alexei Sholik',
      author_email='alcosholik@gmail.com',
      url='https://github.com/alco/numspell',
      license="MIT",
      packages=['numspell'],
      scripts=['spellnum'],
     )
