setup_unix.py
来自「一个功能强大的神经网络分析程序」· Python 代码 · 共 39 行
PY
39 行
#!/usr/bin/env pythonfrom distutils.core import setup, Extension#from glob import globVERSION='1.2.0'LONG_DESCRIPTION="""\Fast Artificial Neural Network Library implements multilayerartificial neural networks with support for both fully connectedand sparsely connected networks. It includes a framework for easy handling of training data sets. It is easy to use, versatile, well documented, and fast. """module1 = Extension( '_libfann', sources = ['libfann.i', 'fann_helper.c'], libraries = ['fann'], #extra_objects = glob('../src/fann*.o'), )setup( name='pyfann', version=VERSION, description='Fast Artificial Neural Network Library (fann)', long_description=LONG_DESCRIPTION, author='Steffen Nissen', author_email='lukesky@diku.dk', maintainer='Gil Megidish', maintainer_email='gil@megidish.net', url='http://sourceforge.net/projects/fann/', license='GNU LESSER GENERAL PUBLIC LICENSE (LGPL)', platforms='UNIX', ext_modules = [module1], py_modules = ['libfann', 'fann'] )
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?