-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (43 loc) · 1.45 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
#!/usr/bin/env python
"""
Simple, robust features for expediting application logging configuration
"""
import os
import sys
from setuptools import find_packages, setup
NAME = "prolog"
HERE = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(HERE, NAME, "__version__.py")) as f:
exec(f.read(), about)
long_description = ""
readme = os.path.join(os.path.abspath(os.path.dirname(__file__)), "README.rst")
if os.path.exists(readme):
with open(readme, "r") as f:
long_description = f.read()
setup(
name=NAME,
version=about["__version__"],
description=__doc__.strip(),
long_description=long_description,
author="David Krauth",
author_email="[email protected]",
url="https://github.com/dakrauth/prolog",
packages=find_packages(exclude=("tests",)),
include_package_data=True,
license="MIT License",
entry_points={"console_scripts": ["prolog=prolog.__main__:main"]},
install_requires=["appdirs>=1.4.3"],
classifiers=[
# Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Topic :: System :: Logging",
"Topic :: Utilities",
],
)