-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
39 lines (36 loc) · 1.56 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, Extension
from Cython.Build import cythonize
import numpy
extensions = [
Extension("pyemto.c.c_lattice", ["pyemto/c/c_lattice.pyx"],
include_dirs = [numpy.get_include()],
#libraries = [...],
#library_dirs = [...],
)
]
setup(name='pyemto',
version='0.9.5',
description='Program to generate input files for EMTO program',
author='H. Levämäki, M. Ropo',
author_email='[email protected], [email protected]',
license='MIT',
classifiers=['Development Status :: 4 - Beta', 'Environment :: Console',
'Intended Audience :: Science/Research'],
packages=['pyemto', 'pyemto.EOS', 'pyemto.emtoinputs',
'pyemto.latticeinputs', 'pyemto.utilities',
'pyemto.common', 'pyemto.emto_parser',
'pyemto.examples', 'pyemto.free_energy',
'pyemto.space_group', 'pyemto.jij',
'pyemto.c'],
package_data={"pyemto.emto_parser": ["*.json", "LICENSE.txt"],
"pyemto.emtoinputs": ["aconf.pckl"],
"pyemto": ["contributors.txt", "Documentation.html"],
"pyemto.c": ["*.py", "*.so", "*.pyc"]},
install_requires=["numpy>=1.10.3", "scipy>=0.17.1", "matplotlib>=1.5.1"],
extras_require={"emto_parser": ["pandas>=0.20.3"],
"emto_input_generator": ["pymatgen>=4.4.0"]},
ext_modules = cythonize(extensions),
scripts=['pyemto/jij/create_jij_input']
)