-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (33 loc) · 1005 Bytes
/
setup.py
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
37
38
39
""" For installing package. See LICENSE
"""
from setuptools import setup, find_packages
def load_description():
"""Return description"""
with open("README.md") as buffer:
return buffer.read()
def load_version():
"""Return the version number"""
with open("VERSION") as buffer:
return buffer.readline().strip()
setup(
name="classyjson",
version=load_version(),
author="Dylan Gregersen",
author_email="an.email0101@gmail.com",
url="https://github.com/earthastronaut/classyjson",
license="MIT",
description="Wrap jsonschema in python classes",
long_description=load_description(),
long_description_content_type="text/markdown",
python_requires=">=3.5",
packages=find_packages(),
py_modules=["classyjson"],
extra_requires={
# add schema validation
"jsonschema": ["jsonschema"],
},
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
],
)