-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathsetup.py
More file actions
76 lines (67 loc) · 1.92 KB
/
Copy pathsetup.py
File metadata and controls
76 lines (67 loc) · 1.92 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
def normalize_line_endings(text: str):
return text.replace('\r\n', '\n').replace('\r', '\n')
with open('README.rst') as readme_file:
readme = readme_file.read()
readme = normalize_line_endings(readme)
with open('HISTORY.rst') as history_file:
history = history_file.read()
history = normalize_line_endings(history)
requirements = [
'python_dateutil>=2.5.3',
'requests>=2.10.0',
'PyYAML>=3.11',
]
test_requirements = [
'pip>=8.1.2',
'bumpversion>=0.5.3',
'wheel>=0.29.0',
'watchdog>=0.8.3',
'flake8>=2.6.0',
'tox>=2.3.1',
'coverage>=4.1',
'Sphinx>=1.4.4',
'cryptography==42.0.4',
'PyYAML>=3.11',
'pytest>=2.9.2',
'httmock>=1.2.5'
]
setup(
name='seqlog',
version='0.4.2',
description="SeqLog enables logging from Python to Seq.",
long_description=readme + '\n\n' + history,
long_description_content_type='text/x-rst',
author="Adam Friedman",
author_email='tintoy@tintoy.io',
url='https://github.com/tintoy/seqlog',
packages=[
'seqlog',
],
py_modules=[
'seqlog',
],
package_dir={
'seqlog': 'seqlog'
},
include_package_data=True,
install_requires=requirements,
license="MIT license",
zip_safe=False,
keywords='seqlog',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
test_suite='tests',
tests_require=test_requirements
)