brown/setup.py

32 lines
929 B
Python
Raw Normal View History

from distutils.core import setup, Extension
2019-07-08 09:21:51 +00:00
interaction = Extension("brown.interaction",
sources = ["c/interaction/interaction.c"])
2019-07-08 09:21:51 +00:00
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)