Skip to content

Commit

Permalink
Merge pull request #5 from Yoctol/fix-entity-from-dict
Browse files Browse the repository at this point in the history
Fix entity from dict
  • Loading branch information
stegben authored Oct 18, 2018
2 parents 2267019 + 0581e0a commit 91e59c1
Show file tree
Hide file tree
Showing 6 changed files with 258 additions and 194 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ language: python
python:
- "3.5"
- "3.6"
before_install:
- sudo apt-get update
- sudo apt-get install pandoc -y

# command to install dependencies
install:
- pip install -r requirements_dev.txt
Expand All @@ -10,3 +14,15 @@ install:
script:
- flake8
- python -m unittest
deploy:
provider: pypi
user: stegben
password:
secure: eihswW4KNxCa9Tn/iPcYE6mdlLHwMVWG+2Dll2WhuCj2+ZBL+zI4UHoGmSWqevwal39iBqb+9gwY8tALzCG1XDIYx2nXjz7dtvNlAyWTMg5IgyvxhqxARcrhiWsO9dqi/mUzdGdUthiIztlMF3torYqQDO3mZ67oGCZZSf+o5+KXJX49WnkbTOSDlDNG6ndsmJaAQGq8uxDIiIMzbD8tbIx2AM/eyd0s8KGbRaotQxViS7uPpqofUJql7QdWRnYHmp12joOx0P9g7EKShbPDDYikDGfgpXoAZMgHErIOIPP7ed0+vYp5sVP23y34pmyQFjuXn63l1u9+dicd2m3xVAAuY775evt2EX3zOgfjQmNVo8jKBWWaPbxznKiXT52DAQcB4Z/q0WgoA0q1RWnwqhzUvV1VQzJ57v4LnOuvba6bDXRQvKgNZIA7lTpeDwvxPYtIRtL2bUlyVoDUeNREBniZzSyPwXrehDasUurD1kyHg8+4uM/E3I2T6nrCQsPojZ9i6GP3JEiaZmyuBbCFrNxNUGIxeysaaE5vYpQxxZE6HPozDGmnUjJThA5mWhwBZ4d1t7PFK3RQl/JRo7GRSloEZi7V1gkzVcGKsU4njRWC1vORk9ue+FSqdarlgMCcbxr/A+b06QAi0EGbXkQP4m3TdzaNClOn7xOtn7OXXxE=
distributions: sdist
skip_cleanup: true
on:
tags: true
python:
- "3.5"
- "3.6"
1 change: 1 addition & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
flake8-config-yoctol==0.0.9
pycodestyle==2.3.1
pypandoc
-e .
17 changes: 16 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from setuptools import setup, find_packages, Extension
from pathlib import Path


try:
Expand Down Expand Up @@ -35,9 +36,23 @@
]


readme = Path(__file__).parent.joinpath('README.md')
if readme.exists():
with readme.open() as f:
long_description = f.read()
try:
from pypandoc import convert_text
long_description = convert_text(
long_description, 'rst', format='md')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
else:
long_description = '-'


setup(
name="uttut",
version='0.4.0',
version='0.5.0',
description="Yoctol Utterance processing utilities",
license="MIT",
author="cph",
Expand Down
Loading

0 comments on commit 91e59c1

Please sign in to comment.