-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Getting it ready to put on PyPI This contributes to #35.
- Loading branch information
Showing
1 changed file
with
20 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
from subprocess import check_call | ||
|
||
from setuptools import setup | ||
from setuptools.command.develop import develop | ||
from setuptools.command.install import install | ||
from subprocess import check_call | ||
|
||
import mycroft | ||
|
||
|
@@ -22,18 +23,34 @@ def run(self): | |
install.run(self) | ||
|
||
|
||
def readme(): | ||
with open('README.md') as f: | ||
return f.read() | ||
|
||
|
||
setup( | ||
name="mycroft", | ||
version=mycroft.__version__, | ||
packages=["mycroft"], | ||
url="https://github.com/wpm/mycroft", | ||
license="", | ||
license="MIT", | ||
keywords="lstm keras spacy machine-learning natural-language-processing rnn word-embeddings", | ||
python_requires=">=3.2", | ||
classifiers=[ | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: MIT License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Topic :: Scientific/Engineering :: Artificial Intelligence" | ||
], | ||
entry_points={ | ||
"console_scripts": ["mycroft=mycroft.console:default_main"], | ||
}, | ||
author="W.P. McNeill", | ||
author_email="[email protected]", | ||
description="Text classifier", install_requires=["cytoolz", "keras", "numpy", "pandas", "scikit-learn", "spacy"], | ||
description="Text classifier", | ||
long_description=readme(), | ||
install_requires=["cytoolz", "keras", "numpy", "pandas", "scikit-learn", "spacy"], | ||
cmdclass={ | ||
"develop": PostDevelopCommand, | ||
"install": PostInstallCommand | ||
|