From 1cf0f7715f46c63580ab5cf3e611d1a518d75a0c Mon Sep 17 00:00:00 2001 From: Akbar Gumbira Date: Mon, 25 Sep 2017 17:43:51 +0200 Subject: [PATCH 1/2] Add setup file (#1) --- .gitignore | 5 ++++- setup.py | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index 88052b3..f25e0d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ *~ *.pyc -python/__pycache__\* \ No newline at end of file +python/__pycache__\* +.idea/* +dist/ +python/pyrenn.egg-info diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..221f2a9 --- /dev/null +++ b/setup.py @@ -0,0 +1,30 @@ +# coding=utf-8 +"""Setup file for distutils / pypi.""" +try: + from ez_setup import use_setuptools + use_setuptools() +except ImportError: + pass + +from setuptools import setup, find_packages + + +setup( + name='pyrenn', + version='0.1', + package_dir={'': 'python'}, + py_modules=['pyrenn'], + license='GPL', + author='Dennis Atabay', + url='http://github.com/yabata/pyrenn', + description='A recurrent neural network toolbox for Python and Matlab.', + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'Intended Audience :: Science/Research', + 'License :: OSI Approved :: GNU General Public License v3 (GPLv3)', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Scientific/Engineering :: Artificial Intelligence', + ], +) From 531119841c56af734ed352d5c604e21b3c21fbb9 Mon Sep 17 00:00:00 2001 From: Akbar Gumbira Date: Mon, 25 Sep 2017 17:47:42 +0200 Subject: [PATCH 2/2] Add install_requires in setup file. --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 221f2a9..9002f61 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,9 @@ author='Dennis Atabay', url='http://github.com/yabata/pyrenn', description='A recurrent neural network toolbox for Python and Matlab.', + install_requires=[ + 'numpy' + ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers',