-
Notifications
You must be signed in to change notification settings - Fork 72
/
setup.py
executable file
·72 lines (68 loc) · 2.75 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#! /usr/bin/env python
#
# Copyright (c) 2016-2022, SISSA (International School for Advanced Studies).
# All rights reserved.
# This file is distributed under the terms of the MIT License.
# See the file 'LICENSE' in the root directory of the present
# distribution, or http://opensource.org/licenses/MIT.
#
# @author Davide Brunato <[email protected]>
#
from setuptools import setup, find_packages
from pathlib import Path
with Path(__file__).parent.joinpath('README.rst').open() as readme:
long_description = readme.read()
setup(
name='xmlschema',
version='3.4.3',
packages=find_packages(include=['xmlschema*']),
package_data={
'xmlschema': ['py.typed', 'locale/**/*.mo', 'locale/**/*.po', 'schemas/*/*.xsd'],
'xmlschema.extras': ['templates/*/*.jinja'],
},
entry_points={
'console_scripts': [
'xmlschema-validate=xmlschema.cli:validate',
'xmlschema-xml2json=xmlschema.cli:xml2json',
'xmlschema-json2xml=xmlschema.cli:json2xml',
]
},
python_requires='>=3.8',
install_requires=['elementpath>=4.4.0, <5.0.0'],
extras_require={
'codegen': ['elementpath>=4.4.0, <5.0.0', 'jinja2'],
'dev': ['tox', 'coverage', 'lxml', 'elementpath>=4.4.0, <5.0.0',
'memory_profiler', 'Sphinx', 'sphinx_rtd_theme', 'jinja2',
'flake8', 'mypy', 'lxml-stubs'],
'docs': ['elementpath>=4.4.0, <5.0.0', 'Sphinx', 'sphinx_rtd_theme', 'jinja2']
},
author='Davide Brunato',
author_email='[email protected]',
url='https://github.com/sissaschool/xmlschema',
license='MIT',
license_file='LICENSE',
description='An XML Schema validator and decoder',
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: 3.14',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries',
'Topic :: Text Processing :: Markup :: XML',
]
)