# -*- coding: utf-8 -*-
import os
from distutils.core import setup
from humod import __version__

CONFIG_FILES = [('/etc/ppp/peers', ['conf/humod'])]
try:
    os.stat('/etc/ppp/options')
except OSError:
    CONFIG_FILES = [('/etc/ppp/peers', ['conf/humod']),
                    ('/etc/ppp/options', ['conf/options'])]

setup(name='pyhumod',
      version=__version__,
      packages=['humod'],
      description='Access SMS, GSM and 3G features of Huawei and '
                  'compatible modems via clean and pragmatic Python API',
      author='Slawek Ligus, František Malina',
      author_email='root@ooz.ie',
      url='https://github.com/oozie/pyhumod',
      license='BSD',
      platforms=['Linux'],
      install_requires=['pyserial'],
      data_files=CONFIG_FILES,
      classifiers=['License :: OSI Approved :: BSD License',
                   'Natural Language :: English',
                   'Operating System :: POSIX',  
                   'Operating System :: POSIX :: Linux',
                   'Operating System :: MacOS :: MacOS X',
                   'Intended Audience :: Developers',
                   'Topic :: Communications',
                   'Topic :: Software Development :: Libraries'])

# -*- coding: utf-8 -*-
import os
from distutils.core import setup
from humod import __version__

CONFIG_FILES = [('/etc/ppp/peers', ['conf/humod'])]
try:
    os.stat('/etc/ppp/options')
except OSError:
    CONFIG_FILES = [('/etc/ppp/peers', ['conf/humod']),
                    ('/etc/ppp/options', ['conf/options'])]

setup(name='humod',
      version=__version__,
      packages=['humod'],
      description='Access SMS, GSM and 3G features of Huawei and '
                  'compatible modems via clean and pragmatic Python API',
      author='Slawek Ligus, František Malina',
      author_email='root@ooz.ie',
      url='https://github.com/oozie/pyhumod',
      license='BSD',
      platforms=['Linux'],
      install_requires=['pyserial'],
      data_files=CONFIG_FILES,
      classifiers=['License :: OSI Approved :: BSD License',
                   'Natural Language :: English',
                   'Operating System :: POSIX',  
                   'Operating System :: POSIX :: Linux',
                   'Operating System :: MacOS :: MacOS X',
                   'Intended Audience :: Developers',
                   'Topic :: Communications',
                   'Topic :: Software Development :: Libraries'])

--- 
+++ 
@@ -10,7 +10,7 @@
     CONFIG_FILES = [('/etc/ppp/peers', ['conf/humod']),
                     ('/etc/ppp/options', ['conf/options'])]
 
-setup(name='humod',
+setup(name='pyhumod',
       version=__version__,
       packages=['humod'],
       description='Access SMS, GSM and 3G features of Huawei and '
Change the name back to pyhumod

With the change of name from pyhumod to humod this would be a separate pypi package and we don't want that.