Skip to content

Commit

Permalink
test again
Browse files Browse the repository at this point in the history
  • Loading branch information
ppwwyyxx committed Feb 7, 2017
1 parent ced9bd7 commit 073d55b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ matrix:

install:
- pip install -U pip
- pip install flake8 opencv-python
- pip install flake8 opencv-python pypandoc
- "./tests/install-tensorflow.sh"
- pip install .

Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name = tensorpack
author = TensorPack contributors
author-email = ppwwyyxxc@gmail.com
description = Neural Network Toolbox on TensorFlow
long_description = file: README.md
url = https://github.com/ppwwyyxx/tensorpack
keywords = tensorflow, deep learning, neural network
license = Apache
Expand Down
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@
exec(compile(open(libinfo_py, "rb").read(), libinfo_py, 'exec'), libinfo, libinfo)
__version__ = libinfo['__version__']

# produce rst readme for pypi
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except ImportError:
long_description = open('README.md').read()

# configure requirements
req = [
'numpy',
Expand Down Expand Up @@ -47,6 +54,7 @@

setup(
version=__version__,
long_description=long_description,
install_requires=req,
tests_require=['flake8'],
extras_require={
Expand Down

0 comments on commit 073d55b

Please sign in to comment.