Skip to content

Commit

Permalink
Merge pull request #246 from rochacbruno/markdown_readme
Browse files Browse the repository at this point in the history
Attempt to fix markdown readme on PyPI
  • Loading branch information
javabrett committed Sep 23, 2018
2 parents 829a98b + 6f9a82b commit 20a960b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ python:
before_install:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
- python setup.py check --strict

script:
- make test
Expand Down
6 changes: 5 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ pytest-cov
decorator
wheel
flask-jwt
twine
twine>=1.11.0

# for pypi markdown support
readme_renderer
setuptools>=40.4.2

# install flasgger itself as editable
-e .
Expand Down
9 changes: 3 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
import re
import os

try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
from setuptools import setup, find_packages


def fpath(name):
Expand Down Expand Up @@ -43,8 +40,8 @@ def grep(attrname):
long_description_content_type="text/markdown",
packages=find_packages(
exclude=[
'tests', 'tests.*',
'examples', 'examples.*',
'tests', 'tests.*',
'examples', 'examples.*',
'demo_app', 'demo_app.*',
'etc', 'etc.*'
]
Expand Down

0 comments on commit 20a960b

Please sign in to comment.