import sys

from setuptools import setup
from setuptools.extension import Extension

#XXX gettid only works on Linux, don't bother else
if 'linux' in sys.platform:
    exts = [Extension('_libgettid', sources=['_libgettid.c'])]
else:
    exts = []

setup(
    name='mmstats',
    version='0.1',
    license='BSD',
    author='Michael Schurter',
    author_email='m@schmichael.com',
    description='Stat publishing and consuming tools',
    py_modules=['mmstats', 'slurpstats', 'mmash', 'mmash_settings'],
    ext_modules=exts,
    install_requires=['Flask'],
    classifiers=['License :: OSI Approved :: BSD License'],
    zip_safe=False,
)

import sys

from setuptools import setup
from setuptools.extension import Extension

#XXX gettid only works on Linux, don't bother else
if 'linux' in sys.platform:
    exts = [Extension('_libgettid', sources=['_libgettid.c'])]
else:
    exts = []

setup(
    name='mmstats',
    version='0.1',
    license='BSD',
    author='Michael Schurter',
    author_email='m@schmichael.com',
    description='Stat publishing and consuming tools',
    py_modules=['libgettid',
                'mmstats',
                'slurpstats',
                'mmash',
                'mmash_settings'
            ],
    ext_modules=exts,
    install_requires=['Flask'],
    classifiers=['License :: OSI Approved :: BSD License'],
    zip_safe=False,
)

Add missing libgettid to py_modules
Add missing libgettid to py_modules
