Statistiques
| Révision :

root / setup.py @ 15

Historique | Voir | Annoter | Télécharger (1,77 ko)

1
#!/usr/bin/env python
2

    
3
# Copyright (C) 2007  CAMP
4
# Please see the accompanying LICENSE file for further information.
5

    
6
from distutils.core import setup
7
from glob import glob
8
from os.path import join
9

    
10
import os
11
import sys
12

    
13
long_description = """\
14
ASE is a python package providing an open source Atomic Simulation
15
Environment in the python scripting language."""
16

    
17

    
18
if sys.version_info < (2, 3, 0, 'final', 0):
19
    raise SystemExit, 'Python 2.3 or later is required!'
20

    
21
packages = ['ase',
22
            'ase.io',
23
            'ase.md',
24
            'ase.dft',
25
            'ase.gui',
26
            'ase.gui.languages',
27
            'ase.data',
28
            'ase.test',
29
            'ase.utils',
30
            'ase.lattice',
31
            'ase.lattice.spacegroup',
32
            'ase.examples',
33
            'ase.optimize',
34
            'ase.optimize.test',
35
            'ase.visualize',
36
            'ase.visualize.vtk',
37
            'ase.transport',
38
            'ase.calculators',
39
            'ase.calculators.jacapo']
40

    
41
package_dir={'ase': 'ase'}
42

    
43
package_data={'ase': ['lattice/spacegroup/spacegroup.dat']}
44

    
45
# Get the current version number:
46
execfile('ase/svnversion_io.py')  # write ase/svnversion.py and get svnversion
47
execfile('ase/version.py')        # get version_base
48
if svnversion:
49
    version = version_base + '.' + svnversion
50
else:
51
    version = version_base
52

    
53
setup(name = 'python-ase',
54
      version=version,
55
      description='Atomic Simulation Environment',
56
      url='https://wiki.fysik.dtu.dk/ase',
57
      maintainer='CAMd',
58
      maintainer_email='camd@fysik.dtu.dk',
59
      license='LGPLv2.1+',
60
      platforms=['linux'],
61
      packages=packages,
62
      package_dir=package_dir,
63
      package_data=package_data,
64
      scripts=['tools/ag', 'tools/ASE2ase.py', 'tools/testase.py'],
65
      long_description=long_description)