<filename>setup.py
#!/usr/bin/env python

from setuptools import setup, find_packages

def get_version():
    # TODO: Test before using or find a better version tracker to import
    with open("mudpie_sample_generator.py", 'r') as f:
        for line in f:
            if "__version__" in line:
                return line.split("=")[1].strip()
           

setup(name='mudpie_sample_generator',
      version="0.1.2",
      description='Extract random samples from wav file and save them.',
      author='<NAME>',
      author_email='<EMAIL>',
      packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
      py_modules=['mudpie_sample_generator'],
      entry_points = { 
            'console_scripts': [ 
                'mudsampgen = mudpie_sample_generator:main'
            ] 
        }, 
      license='LICENSE.md',
    )

<filename>setup.py
#!/usr/bin/env python

from setuptools import setup, find_packages

def get_version():
    # TODO: Test before using or find a better version tracker to import
    with open("mudpie_sample_generator.py", 'r') as f:
        for line in f:
            if "__version__" in line:
                return line.split("=")[1].strip()
           

setup(name='mudpie_sample_generator',
      version="0.1.2",
      description='Extract random samples from wav file and save them.',
      author='<NAME>',
      author_email='<EMAIL>',
      packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
      py_modules=['mudpie_sample_generator'],
      entry_points = { 
            'console_scripts': [ 
                'mudsampgen = mudpie_sample_generator:main'
            ] 
        }, 
      license='LICENSE.md',
    )

#!/usr/bin/env python # TODO: Test before using or find a better version tracker to import