-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (24 loc) · 733 Bytes
/
setup.py
File metadata and controls
28 lines (24 loc) · 733 Bytes
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
27
28
from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext
from Cython.Build import cythonize
ext = Extension(
'mamonca',
sources=["mamonca/mc.pyx"],
language="c++",
extra_compile_args=['-std=c++11'],
)
with open('README.md') as readme_file:
readme = readme_file.read()
setup(
name='mamonca',
version='0.0.8',
description='mamonca - interactive Magnetic Monte Carlo code',
long_description=readme,
long_description_content_type='text/markdown',
url='https://github.com/samwaseda/mamonca',
author='Sam Waseda',
author_email='waseda@mpie.de',
license='BSD',
ext_modules=cythonize([ext]),
options={'build': {'build_lib': 'mamonca'}},
)