This repository was archived by the owner on Sep 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (41 loc) · 1.73 KB
/
setup.py
File metadata and controls
46 lines (41 loc) · 1.73 KB
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
# -*- coding: utf-8 -*-
from setuptools import setup
from distutils.util import convert_path
_package_name = 'garlic_validator'
_namespace_dict = {}
_version_path = convert_path(f'{_package_name}/__version__.py')
with open(_version_path) as _version_file:
exec(_version_file.read(), _namespace_dict)
_package_version = _namespace_dict['__version__']
setup(
name = _package_name,
packages = [_package_name],
version = f"{_package_version}",
license='MIT',
description = 'Cerberus and validator-collection based custom validator package (garlic_validator) for python projects.',
long_description = open('README.md', 'r').read(),
long_description_content_type='text/markdown',
author = 'Batkhuu Byambajav',
author_email = 'batkhuu10@gmail.com',
url = 'https://github.com/bybatkhuu/python_validator',
download_url = f'https://github.com/bybatkhuu/python_validator/archive/v{_package_version}.tar.gz',
keywords = [_package_name, 'validator', 'validators', 'validate', 'validation', 'data-validation', 'Cerberus', 'validator-collection', 'custom-validator'],
install_requires = [
'Cerberus>=1.3.4',
'pydantic>=1.9.1',
'importlib-metadata>=4.12.0',
'jsonschema>=4.6.0',
'validator-collection>=1.5.0'
],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
]
)