-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
53 lines (46 loc) · 1.73 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
49
50
51
52
53
from setuptools import setup, find_packages
import os
def readme():
with open('README.md') as f:
return f.read()
def find_scripts(*paths):
scripts = []
for path in paths:
for fi in os.listdir(path):
if fi.endswith(".py"):
fi = os.path.join(path, fi)
with open(fi) as f:
l = f.readlines()[0]
if l.startswith("#!"):
scripts.append(fi)
return scripts
setup(name = 'WaveBlocksND',
version = '0.5',
description = u'Reusable building blocks for simulations with semiclassical wavepackets.',
long_description = readme(),
author = 'R. Bourquin',
author_email = 'raoul.bourquin@sam.math.ethz.ch',
url = 'https://github.com/WaveBlocks/WaveBlocksND',
packages = find_packages(),
classifiers = ['Development Status :: 4 - Beta',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Chemistry',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Environment :: Console',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
],
license = 'BSD',
install_requires = [
'h5py >= 2.2',
'matplotlib >= 1.4',
#'mayavi',
'numpy >= 1.8',
'scipy >= 0.14',
'sympy >= 0.7.5',
],
include_package_data = True,
scripts = find_scripts('./scripts/scripts', './scripts/plotters/') + ['./scripts/sh/make_video.sh']
)