-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
34 lines (30 loc) · 1.38 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
from distutils.core import setup
# Convert README.md to long description
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
long_description = long_description.replace("\r", "") # YOU NEED THIS LINE
except (ImportError, OSError, IOError):
print("Pandoc not found. Long_description conversion failure.")
import io
# pandoc is not installed, fallback to using raw contents
with io.open('README.md', encoding="utf-8") as f:
long_description = f.read()
setup(
name='learning',
version='0.1.0',
packages=['learning', 'learning.architecture', 'learning.data', 'learning.optimize', 'learning.testing'],
# Include examples and datasets
package_data={'learning': ['examples/*.py', 'data/datasets/*.data']},
# Dependencies
install_requires=[
'numpy'
],
# Metadata
author='Justin Lovinger',
license='MIT',
description="A python machine learning library, with powerful customization for advanced users, and robust default options for quick implementation.",
long_description=long_description,
keywords=['machine-learning', 'supervised-learning', 'mulilayer-perceptron', 'mlp', 'neural-network', 'rbf-network', 'ensemble-learning', 'self-organizing-map', 'som', 'optimization', 'gradient-descent', 'linear-regression', 'regression', 'l-bfgs'],
url='https://github.com/justinlovinger/learning',
)