-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
49 lines (44 loc) · 1.62 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
import codecs
import re
from setuptools import setup
version_regex = r'__version__ = ["\']([^"\']*)["\']'
with open('starlette_jsonapi/__init__.py', 'r') as f:
text = f.read()
match = re.search(version_regex, text)
version = match.group(1)
readme = codecs.open('README.md', encoding='utf-8').read()
setup(
name='starlette_jsonapi',
version=version,
description='Tiny wrapper on starlette and marshmallow-jsonapi for fast JSON:API compliant python services.',
author='Vlad Stefan Munteanu',
author_email='[email protected]',
long_description=readme,
long_description_content_type='text/markdown',
packages=['starlette_jsonapi'],
package_data={'starlette_jsonapi': ['LICENSE', 'README.md']},
package_dir={'starlette_jsonapi': 'starlette_jsonapi'},
include_package_data=True,
install_requires=[
'starlette>=0.14.2',
'apispec>4',
'marshmallow>=3',
'marshmallow-jsonapi>=0.24.0',
],
license='MIT License',
url='https://github.com/vladmunteanu/starlette-jsonapi',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: Implementation :: CPython',
],
zip_safe=False,
)