예제 #1
0
파일: setup.py 프로젝트: fperez/dipy
from distutils.core import setup
from distutils.extension import Extension
import numpy as np

from build_helpers import make_cython_ext

# we use cython to compile the module if we have it
try:
    import Cython
except ImportError:
    has_cython = False
else:
    has_cython = True

per_ext, cmdclass = make_cython_ext(
    'dipy.core.track_performance',
    has_cython,
    include_dirs = [np.get_include()])


tvol_ext, cmdclass = make_cython_ext(
    'dipy.io.track_volumes',
    has_cython,
    include_dirs = [np.get_include()])


setup(name='dipy',
      version='0.1a',
      description='Diffusion utilities in Python',
      author='DIPY Team',
      author_email='*****@*****.**',
      url='http://github.com/Garyfallidis/dipy',
예제 #2
0
파일: setup.py 프로젝트: Paolopost/fos
from glob import glob
from distutils.core import setup
from distutils.extension import Extension
import numpy as np

from build_helpers import make_cython_ext

try:
    import Cython
except ImportError:
    has_cython = False
else:
    has_cython = True
    
col_ext, cmdclass = make_cython_ext(
    'fos.interact.collision',
    has_cython,
    include_dirs = [np.get_include()])


setup(name='fos',
      version='0.3.0.dev',
      description='Free On Shades a visualization library for python',
      author='Fos Devels',
      author_email='*****@*****.**',
      url='http://github.com/Garyfallidis/Fos',
      packages=['fos','fos.interact','fos.actor'],
      ext_modules = [col_ext],
      cmdclass    = cmdclass,
      )

예제 #3
0
파일: setup.py 프로젝트: foxet/pbc1109
from distutils.extension import Extension

import numpy as np

from build_helpers import make_cython_ext

# we use cython to compile the module if we have it
try:
    import Cython
except ImportError:
    has_cython = False
else:
    has_cython = True
    
tv_ext, cmdclass = make_cython_ext(
    'pbc1109.track_volumes',
    has_cython,
    include_dirs = [np.get_include()])


setup(name='pbc1109',
      version='0.1a',
      description='Routines for the Pittsburgh brain connectivity'
                  'competition November 2009',
      author='PBC python team',
      author_email='*****@*****.**',
      url='http://github.com/matthew-brett/pbc1109',
      packages=['pbc1109'],
      package_data={'pbc1109': ['tests/data/brain3/*',
                                'tests/*.py']},
      ext_modules = [tv_ext],
      cmdclass    = cmdclass,
예제 #4
0
파일: setup.py 프로젝트: fos/fos-legacy
from distutils.core import setup
from distutils.extension import Extension
import numpy as np

from build_helpers import make_cython_ext

# we use cython to compile the module if we have it
try:
    import Cython
except ImportError:
    has_cython = False
else:
    has_cython = True
    
col_ext, cmdclass = make_cython_ext(
    'fos.core.collision',
    has_cython,
    include_dirs = [np.get_include()])

cgl_ext, cmdclass = make_cython_ext(
    'fos.core.cython_gl',
    has_cython,
    include_dirs = [np.get_include()])

setup(name='fos',
      version='0.2',
      description='Scientific 3d Engine',
      author='Fos Team',
      author_email='*****@*****.**',
      url='http://github.com/Garyfallidis/Fos',
      packages=['fos','fos.core','fos.actor'],
      ext_modules = [col_ext],
예제 #5
0
from os.path import join as pjoin
from glob import glob
from distutils.core import setup
from distutils.extension import Extension
import numpy as np

from build_helpers import make_cython_ext

try:
    import Cython
except ImportError:
    has_cython = False
else:
    has_cython = True

col_ext, cmdclass = make_cython_ext('fos.interact.collision',
                                    has_cython,
                                    include_dirs=[np.get_include()])

setup(
    name='fos',
    version='0.3.0.dev',
    description='Free On Shades a visualization library for python',
    author='Fos Devels',
    author_email='*****@*****.**',
    url='http://github.com/Garyfallidis/Fos',
    packages=['fos', 'fos.interact', 'fos.actor'],
    ext_modules=[col_ext],
    cmdclass=cmdclass,
)
예제 #6
0
파일: setup.py 프로젝트: fos/fos-pyglet
from distutils.core import setup
from distutils.extension import Extension
import numpy as np

from build_helpers import make_cython_ext

# we use cython to compile the module if we have it
try:
    import Cython
except ImportError:
    has_cython = False
else:
    has_cython = True

col_ext, cmdclass = make_cython_ext('fos.core.collision',
                                    has_cython,
                                    include_dirs=[np.get_include()])

cgl_ext, cmdclass = make_cython_ext('fos.core.cython_gl',
                                    has_cython,
                                    include_dirs=[np.get_include()])

setup(
    name='fos',
    version='0.2',
    description='Scientific 3d Engine',
    author='Fos Team',
    author_email='*****@*****.**',
    url='http://github.com/Garyfallidis/Fos',
    packages=['fos', 'fos.core'],
    ext_modules=[col_ext, cgl_ext],
예제 #7
0
파일: setup.py 프로젝트: snowbhr06/dipy
from distutils.core import setup
from distutils.extension import Extension
import numpy as np

from build_helpers import make_cython_ext

# we use cython to compile the module if we have it
try:
    import Cython
except ImportError:
    has_cython = False
else:
    has_cython = True

per_ext, cmdclass = make_cython_ext('dipy.core.track_performance',
                                    has_cython,
                                    include_dirs=[np.get_include()])

tvol_ext, cmdclass = make_cython_ext('dipy.io.track_volumes',
                                     has_cython,
                                     include_dirs=[np.get_include()])

setup(name='dipy',
      version='0.1a',
      description='Diffusion utilities in Python',
      author='DIPY Team',
      author_email='*****@*****.**',
      url='http://github.com/Garyfallidis/dipy',
      packages=['dipy', 'dipy.io', 'dipy.core', 'dipy.viz'],
      package_data={'dipy.io': ['tests/data/*', 'tests/*.py']},
      ext_modules=[per_ext, tvol_ext],