31 lines
849 B
Python
31 lines
849 B
Python
|
#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)
|
||
|
config.add_extension('interaction', ['c/interaction/interaction.c'])
|
||
|
return config
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
from numpy.distutils.core import setup
|
||
|
setup(configuration=configuration)
|