2016-03-27 12:56:54 +03:00
|
|
|
from setuptools import setup#, Extension
|
|
|
|
from Cython.Distutils import build_ext
|
|
|
|
from distutils.extension import Extension
|
|
|
|
# setuptools DWIM monkey-patch madness
|
|
|
|
# http://mail.python.org/pipermail/distutils-sig/2007-September/thread.html#8204
|
|
|
|
#import sys
|
|
|
|
#if 'setuptools.extension' in sys.modules:
|
|
|
|
# m = sys.modules['setuptools.extension']
|
|
|
|
# m.Extension.__dict__ = m._Extension.__dict__
|
|
|
|
|
|
|
|
qpms_c = Extension('qpms_c',
|
|
|
|
sources = ['qpms/qpms_c.pyx'])
|
|
|
|
|
|
|
|
setup(name='qpms',
|
2016-12-06 18:20:23 +02:00
|
|
|
version = "0.1.5",
|
2016-03-27 12:56:54 +03:00
|
|
|
packages=['qpms'],
|
|
|
|
# setup_requires=['setuptools_cython'],
|
2016-07-12 03:24:15 +03:00
|
|
|
install_requires=['cython>=0.21','quaternion','spherical_functions','py_gmm'],
|
|
|
|
dependency_links=['https://github.com/texnokrates/py_gmm','https://github.com/moble/quaternion','https://github.com/moble/spherical_functions'],
|
2016-03-27 12:56:54 +03:00
|
|
|
ext_modules=[qpms_c],
|
|
|
|
cmdclass = {'build_ext': build_ext},
|
|
|
|
)
|
|
|
|
|
|
|
|
|