-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
65 lines (62 loc) · 1.84 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
import pathlib
import re
from setuptools import setup, find_packages
HERE = pathlib.Path(__file__).parent.resolve()
README = (HERE / 'README.rst').read_text(encoding='utf-8')
VERSION = eval(re.search(
'^__version__ = (.*)$',
(HERE / 'jschon' / '__init__.py').read_text(encoding='utf-8'),
re.MULTILINE,
)[1])
setup(
name='jschon',
version=VERSION,
description='A JSON toolkit for Python developers.',
long_description=README,
long_description_content_type='text/x-rst',
url='https://github.com/marksparkza/jschon',
author='Mark Jacobson',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'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',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=find_packages(exclude=['tests']),
include_package_data=True,
python_requires='~=3.8',
install_requires=[
'rfc3986',
],
extras_require={
'requests': [
'requests',
],
'test': [
'tox',
],
'dev': [
'pytest',
'coverage',
'hypothesis<6.0.4',
'pytest-benchmark',
'pytest-httpserver',
'requests',
],
'doc': [
'sphinx',
'sphinx-rtd-theme',
],
},
)