diff --git a/.travis.yml b/.travis.yml index 6217c22..2bbc69d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,17 +2,14 @@ language: python python: - "2.7" install: - - "pip -v install ." + - "pip install ." script: - echo "no tests yet" -before_install: +before_deploy: - "wget https://github.com/jgm/pandoc/releases/download/1.19.1/pandoc-1.19.1-1-amd64.deb -O $TRAVIS_BUILD_DIR/pandoc.deb" - "sudo dpkg -i $TRAVIS_BUILD_DIR/pandoc.deb" - "rm $TRAVIS_BUILD_DIR/pandoc.deb" - - "echo `pwd`" - - "pandoc --version" - "pandoc --from=markdown --to=rst --output=$TRAVIS_BUILD_DIR/README.rst README.md" - - "ls -alhrt README*" deploy: # test pypi - provider: pypi diff --git a/setup.py b/setup.py index 31bbea5..65e3b39 100644 --- a/setup.py +++ b/setup.py @@ -12,12 +12,11 @@ def get_long_description(): for d in dirs: rst_readme = os.path.join(d, "README.rst") if not os.path.exists(rst_readme): - print "failed to find %s" % rst_readme continue - print "found rst readme %s" % rst_readme with open(rst_readme) as fp: long_description = fp.read() + return long_description return long_description