Skip to content

Commit

Permalink
Improve setup.py
Browse files Browse the repository at this point in the history
Getting it ready to put on PyPI

This contributes to #35.
  • Loading branch information
wpm committed Jul 27, 2017
1 parent 5269637 commit 0ad7b3d
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions setup.py
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

Expand All @@ -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
Expand Down

0 comments on commit 0ad7b3d

Please sign in to comment.