Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
168 changes: 86 additions & 82 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,102 +1,106 @@
#-----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# Copyright (C) 2011-2016 Nicolas P. Rougier
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
import os
from setuptools import dist, setup, Extension

dist.Distribution().fetch_build_eggs(['Cython>=0.15.1', 'numpy>=1.10'])

import numpy
from Cython.Distutils import build_ext
import numpy # NOQA
from Cython.Distutils import build_ext # NOQA


DATA_EXTENSIONS = ['*.vert', '*.frag', "*.geom", "*.glsl"]

if __name__ == "__main__":

if os.path.exists('MANIFEST'):
os.remove('MANIFEST')

setup(name="glumpy",
version="1.1.0",
description="Fast, scalable & beautiful scientific visualisation",
long_description = """Glumpy is a python library for scientific
visualization that is both fast, scalable
and beautiful. Glumpy offers an intuitive
interface between numpy and modern OpenGL.""",
url = "http://glumpy.github.io",
download_url = "https://github.com/glumpy/glumpy/releases",
keywords = "OpenGL, GLSL, 2D, 3D, Visualisation, Science, Numpy, Graphics, Shaders",
platform = "Any",
maintainer= "Nicolas P. Rougier",
maintainer_email="Nicolas.Rougier@inria.fr",
install_requires=['numpy', 'triangle', 'cython'],
classifiers=[
"Development Status :: 4 - Beta",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 2.7",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Multimedia :: Graphics",
],
license = "BSD License",
packages=['glumpy',
'glumpy.data',
'glumpy.ext',
'glumpy.ext.sdf',
'glumpy.ext.freetype',
'glumpy.ext.freetype.ft_enums',
'glumpy.app',
'glumpy.app.window',
'glumpy.app.window.backends',
'glumpy.gloo',
'glumpy.api',
'glumpy.api.matplotlib',
setup(
name="glumpy",
version="1.1.0",
description="Fast, scalable & beautiful scientific visualisation",
long_description="""Glumpy is a python library for scientific
visualization that is both fast, scalable
and beautiful. Glumpy offers an intuitive
interface between numpy and modern OpenGL.""",
url="http://glumpy.github.io",
download_url="https://github.com/glumpy/glumpy/releases",
keywords="OpenGL, GLSL, 2D, 3D, Visualisation, "
"Science, Numpy, Graphics, Shaders",
platform="Any",
maintainer="Nicolas P. Rougier",
maintainer_email="Nicolas.Rougier@inria.fr",
install_requires=['numpy', 'triangle', 'cython', "pyopengl"],
classifiers=[
"Development Status :: 4 - Beta",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Programming Language :: Python :: 2.7",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can jump to python 3

"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Multimedia :: Graphics",
],
license="BSD License",
packages=['glumpy',
'glumpy.data',
'glumpy.ext',
'glumpy.ext.sdf',
'glumpy.ext.freetype',
'glumpy.ext.freetype.ft_enums',
'glumpy.app',
'glumpy.app.window',
'glumpy.app.window.backends',
'glumpy.gloo',
'glumpy.api',
'glumpy.api.matplotlib',

'glumpy.library',
'glumpy.library.math',
'glumpy.library.misc',
'glumpy.library.arrows',
'glumpy.library.markers',
'glumpy.library.colormaps',
'glumpy.library.antialias',
'glumpy.library.transforms',
'glumpy.library.collections',
'glumpy.library',
'glumpy.library.math',
'glumpy.library.misc',
'glumpy.library.arrows',
'glumpy.library.markers',
'glumpy.library.colormaps',
'glumpy.library.antialias',
'glumpy.library.transforms',
'glumpy.library.collections',

'glumpy.geometry',
'glumpy.graphics',
'glumpy.graphics.svg',
'glumpy.graphics.color',
'glumpy.transforms',
'glumpy.graphics.text',
'glumpy.graphics.collections'],
'glumpy.geometry',
'glumpy.graphics',
'glumpy.graphics.svg',
'glumpy.graphics.color',
'glumpy.transforms',
'glumpy.graphics.text',
'glumpy.graphics.collections'],

package_data={
'glumpy.ext.sdf': ['_sdf.pyx', 'sdf.h'],
'glumpy.data': ['6x13-italic.npy',
'6x13-regular.npy',
'6x13-bold.npy',
'spatial-filters.npy',
'SourceSansPro-Regular.otf' ],
'glumpy.library': ['*.vert','*.frag', "*.geom", "*.glsl"],
'glumpy.library.math': ['*.vert','*.frag', "*.geom", "*.glsl"],
'glumpy.library.misc': ['*.vert','*.frag', "*.geom", "*.glsl"],
'glumpy.library.arrows': ['*.vert','*.frag', "*.geom", "*.glsl"],
'glumpy.library.markers': ['*.vert','*.frag', "*.geom", "*.glsl"],
'glumpy.library.colormaps': ['*.vert','*.frag', "*.geom", "*.glsl"],
'glumpy.library.antialias': ['*.vert','*.frag', "*.geom", "*.glsl"],
'glumpy.library.transforms': ['*.vert','*.frag', "*.geom", "*.glsl"],
'glumpy.library.collections': ['*.vert','*.frag', "*.geom", "*.glsl"]
},
package_data={
'glumpy.ext.sdf': ['_sdf.pyx', 'sdf.h'],
'glumpy.data': ['6x13-italic.npy',
'6x13-regular.npy',
'6x13-bold.npy',
'spatial-filters.npy',
'SourceSansPro-Regular.otf'],
'glumpy.library': DATA_EXTENSIONS,
'glumpy.library.math': DATA_EXTENSIONS,
'glumpy.library.misc': DATA_EXTENSIONS,
'glumpy.library.arrows': DATA_EXTENSIONS,
'glumpy.library.markers': DATA_EXTENSIONS,
'glumpy.library.colormaps': DATA_EXTENSIONS,
'glumpy.library.antialias': DATA_EXTENSIONS,
'glumpy.library.transforms': DATA_EXTENSIONS,
'glumpy.library.collections': DATA_EXTENSIONS,
},

cmdclass={'build_ext': build_ext},
ext_modules=[Extension("glumpy.ext.sdf.sdf",
sources=["glumpy/ext/sdf/_sdf.pyx",
"glumpy/ext/sdf/sdf.c"],
include_dirs=[numpy.get_include()])],
)
cmdclass={'build_ext': build_ext},
ext_modules=[Extension("glumpy.ext.sdf.sdf",
sources=["glumpy/ext/sdf/_sdf.pyx",
"glumpy/ext/sdf/sdf.c"],
include_dirs=[numpy.get_include()])],
)