forked from RasaHQ/rasa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
15 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,8 +1,5 @@ | ||
language: python | ||
sudo: required | ||
addons: | ||
apt_packages: | ||
- pandoc | ||
cache: | ||
directories: | ||
- "$HOME/.cache/pip" | ||
|
@@ -43,14 +40,14 @@ jobs: | |
- git config --global user.name "Travis CI" | ||
- git remote set-url --push origin "[email protected]:$TRAVIS_REPO_SLUG" | ||
- export ${!TRAVIS*} | ||
- sphinx-versioning push docs gh-pages . | ||
- sphinx-versioning push docs docs . | ||
- stage: deploy | ||
install: | ||
- pip install pypandoc==1.4 | ||
install: skip | ||
script: skip | ||
deploy: | ||
provider: pypi | ||
user: amn41 | ||
distributions: "sdist bdist_wheel" | ||
on: | ||
branch: master | ||
tags: true | ||
|
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
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,16 +1,16 @@ | ||
from setuptools import setup, find_packages | ||
import io | ||
import os | ||
|
||
here = os.path.abspath(os.path.dirname(__file__)) | ||
|
||
# Avoids IDE errors, but actual version is read from version.py | ||
__version__ = None | ||
exec(open('rasa_core/version.py').read()) | ||
|
||
try: | ||
import pypandoc | ||
readme = pypandoc.convert_file('README.md', 'rst') | ||
except (IOError, ImportError): | ||
with io.open('README.md', encoding='utf-8') as f: | ||
readme = f.read() | ||
# Get the long description from the README file | ||
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f: | ||
long_description = f.read() | ||
|
||
tests_requires = [ | ||
"pytest", | ||
|
@@ -60,15 +60,17 @@ | |
} | ||
|
||
setup( | ||
name='rasa_core', | ||
name='rasa-core', | ||
classifiers=[ | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
# supported python versions | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6" | ||
"Topic :: Software Development :: Libraries", | ||
], | ||
packages=find_packages(exclude=["tests", "tools"]), | ||
version=__version__, | ||
|
@@ -78,15 +80,22 @@ | |
include_package_data=True, | ||
description="Machine learning based dialogue engine " | ||
"for conversational software.", | ||
long_description=readme, | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
author='Rasa Technologies GmbH', | ||
author_email='[email protected]', | ||
maintainer="Tom Bocklisch", | ||
maintainer_email="[email protected]", | ||
license='Apache 2.0', | ||
keywords="nlp machine-learning machine-learning-library bot bots " | ||
"botkit rasa conversational-agents conversational-ai chatbot" | ||
"chatbot-framework bot-framework", | ||
url="https://rasa.ai", | ||
download_url="https://github.com/RasaHQ/rasa_core/archive/{}.tar.gz".format(__version__) | ||
download_url="https://github.com/RasaHQ/rasa_core/archive/{}.tar.gz".format(__version__), | ||
project_urls={ | ||
'Bug Reports': 'https://github.com/rasahq/rasa_core/issues', | ||
'Source': 'https://github.com/rasahq/rasa_core', | ||
}, | ||
) | ||
|
||
print("\nWelcome to Rasa Core!") | ||
|