-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
50 lines (44 loc) · 1.61 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
from distutils import util
from setuptools import setup
def read_file(name):
with open(name) as fd:
return fd.read()
middleware = util.convert_path("usagelogger/middleware")
utils = util.convert_path("usagelogger/utils")
setup(
name="usagelogger",
version="3.0.0",
description="Logging usage of Python-based services, with user privacy by design.",
long_description=read_file("DESCRIPTIONS.md"),
long_description_content_type="text/markdown",
url="https://resurface.io",
author="resurface.io",
author_email="[email protected]",
license="Apache License 2.0",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: System Administrators",
"Topic :: Internet :: Log Analysis",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
keywords="logging resurface",
package_dir={
"usagelogger": "usagelogger",
"usagelogger.middleware": middleware,
"usagelogger.utils": utils,
},
packages=["usagelogger", "usagelogger.middleware", "usagelogger.utils"],
# packages=find_packages(exclude=["tests"]),
python_requires=">=3.7, <4",
install_requires=["requests>=2"],
include_package_data=True,
tests_require=["pytest"],
project_urls={
"Bug Reports": "https://github.com/resurfaceio/logger-python/issues",
"Source": "https://github.com/resurfaceio/logger-python",
},
)