Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v1.0.2
Fetching contributors…

Cannot retrieve contributors at this time

file 26 lines (23 sloc) 0.593 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
from distutils.core import setup, Extension

import os
import fnmatch

def c_files_in(directory):
    paths = []
    names = os.listdir(directory)
    for f in fnmatch.filter(names, '*.c'):
        paths.append(os.path.join(directory, f))
    return paths

setup(
    name='snudown',
    version='1.0.2',
    author='Vicent Marti',
    author_email='vicent@github.com',
    license='MIT',
    ext_modules=[
        Extension(
            name='snudown',
            sources=['snudown.c'] + c_files_in('src/') + c_files_in('html/'),
            include_dirs=['src', 'html']
        )
    ],
)
Something went wrong with that request. Please try again.