https://github.com/geodynamics/citcoms
Revision 7f010dc7da1be608224a65895765bc0511621189 authored by Luis Armendariz on 10 October 2006, 07:29:28 UTC, committed by Luis Armendariz on 10 October 2006, 07:29:28 UTC
2. Wrapped most calls to set_attribute() to avoid using addresses as arguments
3. Added set_attribute_{int,float,double}_vector() functions

1 parent 24fcb93
Raw File
Tip revision: 7f010dc7da1be608224a65895765bc0511621189 authored by Luis Armendariz on 10 October 2006, 07:29:28 UTC
1. Added PID to metadata to make it easier to identify the corresponding .cfg file
Tip revision: 7f010dc
setup.py

# This is not a normal 'setup.py' script; it is provided as a
# convenience to install Python packages required by CitcomS.  For
# instructions on installing CitcomS itself, see the file INSTALL.

try:
    # If setuptools 0.6b1 or later is installed, run with it.
    from pkg_resources import require
    require("setuptools>=0.6b1")
except:
    from ez_setup import use_setuptools
    use_setuptools()

import setuptools
import sys

requirements = []

if setuptools.bootstrap_install_from:
    requirements.append(setuptools.bootstrap_install_from)
    setuptools.bootstrap_install_from = None

requirements.append('pythia >= 0.8-1.0b1, < 0.8-2.0a')

setuptools.setup(
    script_args = (
    ['easy_install',
     '--find-links=http://www.geodynamics.org/cig/software/packages/Eggs/'] +
    sys.argv[1:] +
    requirements
    )
)
back to top