Skip to content

Commit

Permalink
Passed py2/3.5/3.6 pytest. Merge branch 'master' of https://github.co…
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhitingHu committed Aug 31, 2018
2 parents 96beaae + 7a21463 commit 8889ed2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
sudo: required
language: python
python:
- "3.6"

install:
pip install -e .[tensorflow-cpu]

script:
# units test
- pytest

notifications:
email: false
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

-----------------

[![Build Status](https://travis-ci.org/asyml/texar.svg?branch=master)](https://travis-ci.org/asyml/texar)
[![Documentation Status](https://readthedocs.org/projects/texar/badge/?version=latest)](https://texar.readthedocs.io/en/latest/?badge=latest)

[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://github.com/asyml/texar/blob/master/LICENSE)

**Texar** is an open-source toolkit based on Tensorflow, aiming to support a broad set of machine learning especially **text generation tasks**, such as machine translation, dialog, summarization, content manipulation, language modeling, and so on. Texar is designed for both researchers and practitioners for fast prototyping and experimentation.

Expand Down
24 changes: 16 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
#
"""
Setup file.
"""

import setuptools


long_description = '''
Texar is an open-source toolkit based on Tensorflow,
aiming to support a broad set of machine learning especially text generation tasks,
such as machine translation, dialog, summarization, content manipulation, language modeling, and so on.
Texar is designed for both researchers and practitioners for fast prototyping and experimentation.
'''

setuptools.setup(
name="texar",
version="0.1",
url="https://github.com/asyml/texar",

description="Toolkit for Text Generation and Beyond",
long_description=long_description,
license='Apache License Version 2.0',

packages=setuptools.find_packages(),
platforms='any',
Expand All @@ -21,15 +27,17 @@
'requests',
],
extras_require={
'tensorflow': ['tensorflow>=1.7.0'],
'tensorflow with gpu': ['tensorflow-gpu>=1.7.0']
'tensorflow-cpu': ['tensorflow>=1.7.0', 'tensorflow-probability >= 0.3.0'],
'tensorflow-gpu': ['tensorflow-gpu>=1.7.0', 'tensorflow-probability-gpu >= 0.3.0']
},
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
)

0 comments on commit 8889ed2

Please sign in to comment.