-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
51 lines (44 loc) · 1.3 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import setuptools
import os
from src.schemadict.__version__ import __version__
NAME = 'schemadict'
VERSION = __version__
AUTHOR = 'Aaron Dettmann'
EMAIL = 'dettmann@kth.se'
DESCRIPTION = 'Validate Python dictionaries like JSON schema'
URL = 'https://github.com/airinnova/schemadict/'
REQUIRES_PYTHON = '>=3.6.0'
REQUIRED = []
README = 'README.rst'
PACKAGE_DIR = 'src/'
LICENSE = 'Apache License 2.0'
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, README), "r") as fp:
long_description = fp.read()
setuptools.setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
description=DESCRIPTION,
long_description=long_description,
url=URL,
include_package_data=True,
package_dir={'': PACKAGE_DIR},
license=LICENSE,
packages=[NAME],
python_requires=REQUIRES_PYTHON,
install_requires=REQUIRED,
# See: https://pypi.org/classifiers/
classifiers=[
"Programming Language :: Python :: 3",
'Programming Language :: Python :: 3.6',
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Environment :: Console",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
],
)