Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
50 lines (40 sloc) 1023 Bytes
import os
from setuptools import setup, find_packages
with open('VERSION', 'r') as f:
version = f.read().rstrip()
with open('requirements.txt') as f:
install_requires = [l.strip() for l in f]
tests_require = [
'pytest',
'pytest-cov',
]
docs_require = [
'Sphinx',
'sphinx_rtd_theme',
'numpydoc',
]
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
try:
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
except IOError:
CHANGES = ''
setup(
name='skorch',
version=version,
description='scikit-learn compatible neural network library for pytorch',
long_description=README,
license='new BSD 3-Clause',
packages=find_packages(),
include_package_data=True,
url="https://github.com/dnouri/skorch",
zip_safe=False,
install_requires=install_requires,
extras_require={
'testing': tests_require,
'docs': docs_require,
},
)
You can’t perform that action at this time.