root / ase / calculators / jacapo / setup.py @ 7
Historique | Voir | Annoter | Télécharger (1000 octet)
| 1 |
#!/usr/bin/env python
|
|---|---|
| 2 |
|
| 3 |
from distutils.core import setup |
| 4 |
from glob import glob |
| 5 |
from os.path import join |
| 6 |
|
| 7 |
import os |
| 8 |
import sys |
| 9 |
|
| 10 |
long_description = """\
|
| 11 |
Jacapo is a python package providing an interface to Dacapo that
|
| 12 |
is compatible with the open source Atomic Simulation
|
| 13 |
Environment in the python scripting language."""
|
| 14 |
|
| 15 |
if sys.version_info < (2, 3, 0, 'final', 0): |
| 16 |
raise SystemExit, 'Python 2.3 or later is required!' |
| 17 |
|
| 18 |
packages = ['Jacapo']
|
| 19 |
|
| 20 |
tools = ['tools/ncsum',
|
| 21 |
'tools/plotnetcdf',
|
| 22 |
'tools/pysub',
|
| 23 |
'tools/qn_relax',
|
| 24 |
'tools/stripnetcdf']
|
| 25 |
|
| 26 |
# Get the current version number:
|
| 27 |
execfile('version.py') |
| 28 |
|
| 29 |
setup(name = 'python-Jacapo',
|
| 30 |
version=version, |
| 31 |
description='Jacapo - ase + Dacapo',
|
| 32 |
url='http://www.fysik.dtu.dk/Campos/ase',
|
| 33 |
maintainer='John Kitchin',
|
| 34 |
maintainer_email='jkitchin@andrew.cmu.edu',
|
| 35 |
license='LGPL',
|
| 36 |
platforms=['linux'],
|
| 37 |
packages=packages, |
| 38 |
scripts=tools, |
| 39 |
long_description=long_description) |