forked from msiemens/tinydb
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
61 lines (54 loc) · 2.07 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
# coding=utf-8
from setuptools import setup, find_packages
from codecs import open
import os
def read(fname):
path = os.path.join(os.path.dirname(__file__), fname)
return open(path, encoding='utf-8').read()
# This will set the version string to __version__
exec(read('tinydb/version.py'))
setup(
name="tinydb",
version=__version__,
packages=find_packages(exclude=['tests']),
# development metadata
zip_safe=True,
# metadata for upload to PyPI
author="Markus Siemens",
author_email="[email protected]",
description="TinyDB is a tiny, document oriented database optimized for "
"your happiness :)",
license="MIT",
keywords="database nosql",
url="https://github.com/msiemens/tinydb",
project_urls={
'Documentation': 'http://tinydb.readthedocs.org/',
'Changelog': 'https://tinydb.readthedocs.io/en/latest/changelog.html',
'Extensions': 'https://tinydb.readthedocs.io/en/latest/extensions.html',
'Issues': 'https://github.com/msiemens/tinydb/issues',
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Utilities",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent"
],
tests_require=['pytest-cov', 'pyyaml'],
setup_requires=['pytest-runner'],
#lol
long_description=read('README.rst'),
)