mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-28 05:29:25 +01:00
Merge branch 'master+travis-production'
This commit is contained in:
commit
6e3e188fd6
@ -1,3 +1,6 @@
|
|||||||
|
dist: trusty
|
||||||
|
sudo: false
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- '3.4'
|
- '3.4'
|
||||||
@ -27,7 +30,5 @@ deploy:
|
|||||||
condition: $(python3 -c 'import re,os; print(bool(re.match(r"^(\d+\.){2,}\d+$", os.environ.get("TRAVIS_TAG", ""))))') == "True"
|
condition: $(python3 -c 'import re,os; print(bool(re.match(r"^(\d+\.){2,}\d+$", os.environ.get("TRAVIS_TAG", ""))))') == "True"
|
||||||
python: '3.6'
|
python: '3.6'
|
||||||
|
|
||||||
skip_upload_docs: true
|
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
2
setup.py
2
setup.py
@ -32,7 +32,7 @@ with open('__init__.py', 'w') as f:
|
|||||||
# Convert Markdown to RST for PyPI
|
# Convert Markdown to RST for PyPI
|
||||||
try:
|
try:
|
||||||
import pypandoc
|
import pypandoc
|
||||||
long_description = pypandoc.convert('README.md', 'rst')
|
long_description = pypandoc.convert('README.md', 'rst', format='markdown_github')
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print('WARNING: PyPandoc not available; skipping writing long description.')
|
print('WARNING: PyPandoc not available; skipping writing long description.')
|
||||||
long_description = None
|
long_description = None
|
||||||
|
Loading…
Reference in New Issue
Block a user