-
Dominic Kempf authored
six.intern was only introduced in 1.8.0. This patch makes it possible to work in a virtualenv with --system-site-packages despite an ancient six (as provided by Ubuntu 14.04 for whatever reasons).
Dominic Kempf authoredsix.intern was only introduced in 1.8.0. This patch makes it possible to work in a virtualenv with --system-site-packages despite an ancient six (as provided by Ubuntu 14.04 for whatever reasons).
setup.py 1.75 KiB
#!/usr/bin/env python
# -*- coding: latin1 -*-
from setuptools import setup, find_packages
ver_dic = {}
version_file = open("loopy/version.py")
try:
version_file_contents = version_file.read()
finally:
version_file.close()
exec(compile(version_file_contents, "loopy/version.py", 'exec'), ver_dic)
setup(name="loo.py",
version=ver_dic["VERSION_TEXT"],
description="A code generator for array-based code on CPUs and GPUs",
long_description=open("README.rst", "rt").read(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
],
install_requires=[
"pytools>=2015.1.3",
"pymbolic>=2015.2.1",
"cgen>=2013.1.2",
"islpy>=2014.2",
"six>=1.8.0",
],
scripts=["bin/loopy"],
author="Andreas Kloeckner",
url="http://mathema.tician.de/software/loopy",
author_email="inform@tiker.net",
license="MIT",
packages=find_packages(),
)