Skip to content

Commit

Permalink
Merge pull request #143 from Yelp/fix_build
Browse files Browse the repository at this point in the history
  • Loading branch information
Semir Patel committed Sep 28, 2020
2 parents 94b3c5b + 8626162 commit 009d4f4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
httpretty
mock
pytest>=3.1.0
# For python3.5 compatibility
zipp<3.1.0
18 changes: 12 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from __future__ import absolute_import

import os
import sys

from setuptools import find_packages, setup

Expand All @@ -11,6 +12,16 @@
with open(os.path.join(base_dir, "swagger_spec_validator", "__about__.py")) as f:
exec(f.read(), about)


install_requires = [
'jsonschema',
'pyyaml',
'six',
]

if sys.version_info <= (3, 0):
install_requires.append('pyrsistent<0.17.0')

setup(
name=about['__title__'],
version=about['__version__'],
Expand All @@ -29,11 +40,7 @@
],
},
include_package_data=True,
install_requires=[
'jsonschema',
'pyyaml',
'six',
],
install_requires=install_requires,
extra_dependencies={'python_version<"3"': ["functools32"]},
license=about['__license__'],
classifiers=[
Expand All @@ -42,7 +49,6 @@
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
Expand Down
4 changes: 2 additions & 2 deletions swagger_spec_validator/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

__version__ = "2.7.3"

__author__ = "John Billings"
__email__ = "billings@yelp.com"
__author__ = "Yelp"
__email__ = "core-services@yelp.com"

__license__ = "Apache License, Version 2.0"

0 comments on commit 009d4f4

Please sign in to comment.