This repository has been archived by the owner on Jul 10, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The library now comes with its own setup.py, like all grown up Python…
… projects!
- Loading branch information
Showing
2 changed files
with
56 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import os | ||
import sys | ||
from setuptools import setup, find_packages | ||
|
||
|
||
pwd = os.path.abspath(os.path.dirname(__file__)) | ||
sys.path.append(pwd) | ||
|
||
try: | ||
README = open(os.path.join(pwd, 'README.rst')).read() | ||
except IOError: | ||
README = '' | ||
|
||
try: | ||
import sknn | ||
VERSION = sknn.__version__ | ||
except ImportError: | ||
VERSION = 'N/A' | ||
|
||
|
||
install_requires = [ | ||
'pylearn2', | ||
'scikit-learn', | ||
] | ||
|
||
tests_require = [ | ||
'nosetests', | ||
] | ||
|
||
docs_require = [ | ||
'Sphinx', | ||
] | ||
|
||
setup(name='sknn', | ||
version=VERSION, | ||
description="Neural Network wrapper for pylearn2 compatible with scikit-learn.", | ||
long_description=README, | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3.4", | ||
], | ||
keywords='deep learning, neural networks', | ||
author='', | ||
url='https://github.com/aigamedev/scikit-neuralnetwork', | ||
license='BSD 3-clause license', | ||
packages=find_packages(), | ||
include_package_data=True, | ||
zip_safe=False, | ||
install_requires=install_requires, | ||
extras_require={ | ||
'testing': tests_require, | ||
'docs': docs_require, | ||
}, | ||
) |