from distutils.core import setup, Extension interaction = Extension("brown.interaction", sources = ["c/interaction/interaction.c"]) setup(name = "brown", version = "0.0.1", description = "Me playing around with single-atom classical gases", ext_modules = [interaction], packages = [ "brown" ], package_dir = {"brown": "py/brown"}, #url="https://github.com/daknuett/python3-nf", author = "Daniel Knüttel", author_email = "daniel.knuettel@daknuett.eu") #def configuration(parent_package='', top_path=None): # from numpy.distutils.misc_util import Configuration # # config = Configuration('brown' # , parent_package # , top_path="py/") # config.add_extension('interaction', ['c/interaction/interaction.c'], extra_compile_args=["-g"]) # #config.add_subpackage("brown.brown", "py/brown") # return config # #if __name__ == "__main__": # from numpy.distutils.core import setup # setup(configuration=configuration)