-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (45 loc) · 1.38 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import numpy as np
from setuptools import setup
from setuptools.extension import Extension
from Cython.Build import build_ext, cythonize
external = Extension(
"micmec.pes.ext",
sources=["micmec/pes/ext.pyx", "micmec/pes/domain.c"],
depends=["micmec/pes/domain.h", "micmec/pes/domain.pxd"],
include_dirs=[np.get_include()]
)
setup(
name="micmec",
version="1.0",
description="The first implementation of the micromechanical model, ever.",
author="Joachim Vandewalle",
author_email="joachim.vandewalle@hotmail.be",
url="https://github.com/Jlvdwall/micmec",
package_dir={"micmec": "micmec"},
packages=["micmec", "micmec/pes", "micmec/sampling", "micmec/analysis"],
cmdclass={"build_ext": build_ext},
include_package_data=True,
zip_safe=False,
setup_requires=[
"numpy>=1.5",
"cython>=0.26"
],
install_requires=[
"numpy>=1.5",
"cython>=0.26",
"matplotlib>1.0.0",
"h5py>=2.0.0",
"molmod>=1.4.1"
],
ext_modules=[external],
classifiers=[
"Environment :: Console",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Physics",
"Intended Audience :: Science/Research",
],
entry_points={
"console_scripts": ["micmec_builder=micmec.builder.builder:main"]
}
)