forked from Yelp/swagger_spec_validator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (28 loc) · 856 Bytes
/
setup.py
File metadata and controls
36 lines (28 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
from __future__ import absolute_import, division, print_function
import os
from setuptools import find_packages, setup
base_dir = os.path.dirname(__file__)
about = {}
with open(os.path.join(base_dir, "swagger_spec_validator", "__about__.py")) as f:
exec(f.read(), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__summary__'],
url=about['__uri__'],
author=about['__author__'],
author_email=about['__email__'],
packages=find_packages(exclude=["tests", "tests.*"]),
package_data={
'swagger_spec_validator': [
'swagger_spec_validator/schemas/v1.2/*',
'swagger_spec_validator/schemas/v2.0/*',
],
},
include_package_data=True,
install_requires=[
'jsonschema',
'six',
],
license=about['__license__']
)