-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathsetup.py
32 lines (29 loc) · 1.32 KB
/
setup.py
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
29
30
31
32
# -*- coding: UTF-8 -*-
from distutils.core import setup, Extension
with open("README.md", "r") as fh:
long_description = fh.read()
isingLib=Extension('isinglib',sources=['./mcsolver/isingLib.c'],language='c',extra_compile_args=['-std=c99','-fPIC','-O3'])
xyLib=Extension('xylib',sources=['./mcsolver/xyLib.c'],language='c',extra_compile_args=['-std=c99','-fPIC','-O3'])
heisenbergLib=Extension('heisenberglib',sources=['./mcsolver/heisenbergLib.c'],language='c',extra_compile_args=['-std=c99','-fPIC','-O3'])
setup(
name="mcsolver",
version="3.0.6",
author="Liang Liu",
author_email="[email protected]",
description="A user friendly program to do Monte Carlo sims for magnetic systems",
long_description=long_description,
#long_description_content_type="text/markdown",
url="https://github.com/golddoushi/mcsolver",
packages=["mcsolver"],
#include_package_data=True,
ext_package="mcsolver.lib",
ext_modules=[isingLib,xyLib,heisenbergLib],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
],
)