~fenics-core/ffc/main

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Marie E. Rognes
  • Date: 2013-04-04 19:21:30 UTC
  • mfrom: (1864.1.3 lobatto-radau)
  • Revision ID: meg@simula.no-20130404192130-c9ojl1q9xe3fhshf
Merge work of Benjamin Kehlet on including Radau and Lobatto
elements. (These are elements defined on the interval via Lobatto and
Radau quadrature points as degrees of freedom.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/env python
2
2
 
3
3
import sys, platform
4
 
from distutils.core import setup
 
4
from distutils.core import setup, Extension
5
5
from os import chdir
6
6
from os.path import join, split
7
7
 
20
20
        batch_files.append(batch_file)
21
21
    scripts.extend(batch_files)
22
22
 
 
23
ext = Extension("ffc.time_elements_ext",
 
24
                ["ffc/ext/time_elements_interface.cpp",
 
25
                 "ffc/ext/time_elements.cpp",
 
26
                 "ffc/ext/LobattoQuadrature.cpp",
 
27
                 "ffc/ext/RadauQuadrature.cpp",
 
28
                 "ffc/ext/Legendre.cpp"])
 
29
 
23
30
setup(name = "FFC",
24
31
      version = "1.2.0",
25
32
      description = "The FEniCS Form Compiler",
32
39
                  "ffc.dolfin"],
33
40
      package_dir={"ffc": "ffc"},
34
41
      scripts = scripts,
 
42
      ext_modules = [ext],
35
43
      data_files = [(join("share", "man", "man1"),
36
44
                     [join("doc", "man", "man1", "ffc.1.gz")])])