-
Notifications
You must be signed in to change notification settings - Fork 66
/
setup.py
80 lines (75 loc) · 2.57 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
73
74
75
76
77
78
79
80
from setuptools import setup
import versioneer
def read(path):
"""
Read the contents of a file.
"""
with open(path) as f:
return f.read()
setup(
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: System :: Logging",
],
name="eliot",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Logging library that tells you why it happened",
python_requires=">=3.8.0",
install_requires=[
# Internal code documentation:
"zope.interface",
# Persistent objects for Python:
"pyrsistent >= 0.11.8", # version with multi-type pvector/pmap_field
# Better decorators, with version that works better with type annotations:
"boltons >= 19.0.1",
# Faster JSON serialization:
"orjson; implementation_name=='cpython'",
],
extras_require={
"journald": [
# We use cffi to talk to the journald API:
"cffi >= 1.1.2" # significant API changes in older releases
],
"test": [
# Bug-seeking missile:
"hypothesis >= 1.14.0",
# Tasteful testing for Python:
"testtools",
"pytest",
"pytest-xdist",
],
"dev": [
# Ensure we can do python_requires correctly:
"setuptools >= 40",
# For uploading releases:
"twine >= 1.12.1",
# Allows us to measure code coverage:
"coverage",
"sphinx",
"sphinx_rtd_theme",
"flake8",
"black",
],
},
entry_points={"console_scripts": ["eliot-prettyprint = eliot.prettyprint:_main"]},
keywords="logging",
license="Apache 2.0",
packages=["eliot", "eliot.tests"],
url="https://github.com/itamarst/eliot/",
maintainer="Itamar Turner-Trauring",
maintainer_email="[email protected]",
long_description=read("README.rst"),
)