Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 46654dc0e1
Fetching contributors…

Cannot retrieve contributors at this time

83 lines (75 sloc) 2.8 kB
# Copyright (c) 2008-2011 by Enthought, Inc.
# All rights reserved.
from os.path import join
from setuptools import setup, Extension, find_packages
info = {}
execfile(join('blockcanvas', '__init__.py'), info)
# Build Python extensions
cobyla = Extension(
'blockcanvas.cobyla2c.moduleCobyla',
sources=[
'blockcanvas/cobyla2c/cobyla.c',
'blockcanvas/cobyla2c/moduleCobyla.c'
],
)
greenlet = Extension(
'blockcanvas.greenlet.greenlet',
sources = [
'blockcanvas/greenlet/greenlet.c',
],
include_dirs = [
'blockcanvas/greenlet',
],
depends=[
'blockcanvas/greenlet/greenlet.h',
'blockcanvas/greenlet/slp_platformselect.h',
'blockcanvas/greenlet/switch_amd64_unix.h',
'blockcanvas/greenlet/switch_ppc_macosx.h',
'blockcanvas/greenlet/switch_ppc_unix.h',
'blockcanvas/greenlet/switch_s390_unix.h',
'blockcanvas/greenlet/switch_sparc_sun_gcc.h',
'blockcanvas/greenlet/switch_x86_msvc.h',
'blockcanvas/greenlet/switch_x86_unix.h',
],
)
# The actual setup call.
setup(
name = 'blockcanvas',
version = info['__version__'],
author = 'Enthought, Inc',
author_email = 'info@enthought.com',
maintainer = 'ETS Developers',
maintainer_email = 'enthought-dev@enthought.com',
url = 'https://github.com/enthought/blockcanvas',
download_url = (
'http://www.enthought.com/repo/ets/blockcanvas-%s.tar.gz' %
info['__version__']),
classifiers = [c.strip() for c in """\
Development Status :: 4 - Beta
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: BSD License
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Operating System :: OS Independent
Operating System :: POSIX
Operating System :: Unix
Programming Language :: C
Programming Language :: Python
Topic :: Scientific/Engineering
Topic :: Software Development
Topic :: Software Development :: Libraries
""".splitlines() if len(c.strip()) > 0],
description = 'visual environment for creating simulation experiments',
long_description = open('README.rst').read(),
# Note: The greenlet package is very old and has not been ported to
# Windows amd64. Since it is very deprecated, we keep the code
# around, but exclude it form being build as an extension module.
ext_modules = [cobyla], # greenlet],
include_package_data = True,
install_requires = info['__requires__'],
license = 'BSD',
packages = find_packages(),
platforms = ["Windows", "Linux", "Mac OS-X", "Unix", "Solaris"],
zip_safe = False,
)
Jump to Line
Something went wrong with that request. Please try again.