Skip to content

Commit

Permalink
added ga and minor setup improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed Oct 6, 2017
1 parent 54cbfe0 commit 495aafb
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 7 deletions.
29 changes: 29 additions & 0 deletions Makefile
@@ -0,0 +1,29 @@
.PHONY: clean test lint

TEST_PATH=./

help:
@echo " clean"
@echo " Remove python artifacts and build artifacts."
@echo " lint"
@echo " Check style with flake8."
@echo " test"
@echo " Run py.test"

clean:
find . -name '*.pyc' -exec rm -f {} +
find . -name '*.pyo' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
rm -rf build/
rm -rf dist/
rm -rf *.egg-info
rm -rf docs/_build

lint:
py.test --pep8 -m pep8

test: clean
py.test tests --verbose --pep8 --color=yes $(TEST_PATH)

livedocs:
cd docs && make livehtml
15 changes: 14 additions & 1 deletion docs/_templates/layout.html
@@ -1,4 +1,17 @@
{% extends "!layout.html" %}
{% block extrahead %}
<link href="{{ pathto("_static/css/rasa_theme.css", True) }}" rel="stylesheet" type="text/css">
{% endblock %}
{% endblock %}

{% block footer %}
{{ super() }}
<!-- Global Site Tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-87333416-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments)};
gtag('js', new Date());

gtag('config', 'UA-87333416-3');
</script>
{% endblock %}
2 changes: 1 addition & 1 deletion docs/installation.rst
Expand Up @@ -3,7 +3,7 @@
Installation
============

rasa NLU itself doesn't have any external requirements, but to do something useful with it you need to
Rasa NLU itself doesn't have any external requirements, but to do something useful with it you need to
install & configure a backend. Which backend you want to use is up to you.

Setting up rasa NLU
Expand Down
14 changes: 9 additions & 5 deletions setup.py
Expand Up @@ -56,14 +56,18 @@
tests_require=tests_requires,
extras_require=extras_requires,
include_package_data=True,
description="rasa NLU a natural language parser for bots",
description="Rasa NLU a natural language parser for bots",
author='Alan Nichol',
author_email='alan@rasa.ai',
url="https://rasa.ai",
keywords=["NLP", "bots"],
keywords=["nlp", "machine-learning", "machine-learning-library", "bot",
"bots",
"botkit", "rasa", "conversational-agents",
"conversational-ai",
"chatbot", "chatbot-framework", "bot-framework"],
download_url="https://github.com/RasaHQ/rasa_nlu/archive/{}.tar.gz".format(__version__)
)

print("Welcome to rasa!\n")
print("If any questions please visit documentation page https://rasahq.github.io/rasa_nlu\n")
print("or join community chat on https://gitter.im/RasaHQ/rasa_nlu\n")
print("\nWelcome to Rasa NLU!")
print("If any questions please visit documentation page https://rasahq.github.io/rasa_nlu")
print("or join community chat on https://gitter.im/RasaHQ/rasa_nlu")

0 comments on commit 495aafb

Please sign in to comment.