-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
29 lines (24 loc) · 901 Bytes
/
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
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from distutils.core import setup, Extension
import numpy as np
ext_modules = [ Extension('pyeels.cpyeels', sources = ['./pyeels/_spectrum/spectrum.c'], extra_compile_args=['-std=c99']) ]
try:
readmefile = open('README.md','r')
readme = readmefile.read()
except:
readme = "Python simulation package for EELS volume plasmons"
setup(
name = 'PyEELS',
version = '0.2.3',
author = "Sindre R. Bilden",
author_email = "s.r.bilden@fys.uio.no",
url = 'https://github.com/sindrerb/pyeels',
description = ("(NB! Still in development) Python package for simulating EELS from band structures"),
long_description = readme,
install_requires=['hyperspy', 'pythtb', 'spglib'],
packages=['pyeels'],
include_dirs = [np.get_include()],
ext_modules = ext_modules
)
#readme.close()