-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (57 loc) · 2.23 KB
/
Copy pathsetup.py
File metadata and controls
59 lines (57 loc) · 2.23 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
47
48
49
50
51
52
53
54
55
56
57
58
59
from setuptools import setup, find_packages
# Read long description from README and CHANGELOG
def read_long_description():
try:
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
with open('CHANGELOG.md', 'r', encoding='utf-8') as f:
changelog = f.read()
return readme + '\n\n## Changelog\n\n' + changelog
except FileNotFoundError:
return open('README.md').read()
setup(
name='jsonlite',
use_scm_version=True,
setup_requires=['setuptools_scm'],
packages=find_packages(),
include_package_data=True,
description='A lightweight local JSON database with MongoDB-compatible API',
long_description=read_long_description(),
long_description_content_type='text/markdown',
author='simpx',
author_email='simpxx@gmail.com',
url='https://github.com/simpx/jsonlite',
license='MIT',
install_requires=[],
extras_require={
'performance': ['orjson>=3.0.0'],
'security': ['cryptography>=3.0.0'],
'dev': ['pytest>=6.0.0', 'pytest-cov>=2.0.0', 'setuptools_scm'],
},
python_requires='>=3.6',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Database',
'Topic :: Database :: Database Engines/Servers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'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',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Operating System :: OS Independent',
],
keywords='database json mongodb pymongo local embedded',
test_suite='tests',
project_urls={
'Documentation': 'https://github.com/simpx/jsonlite#readme',
'Source': 'https://github.com/simpx/jsonlite',
'Tracker': 'https://github.com/simpx/jsonlite/issues',
'Changelog': 'https://github.com/simpx/jsonlite/blob/main/CHANGELOG.md',
},
)