-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (48 loc) · 1.78 KB
/
setup.py
File metadata and controls
56 lines (48 loc) · 1.78 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_namespace_packages
import io
import re
with io.open('README.md', 'r', encoding='utf8') as f:
long_description = f.read()
with io.open("simplelog/__init__.py", "rt", encoding="utf8") as f:
version = re.search(r"__version__\s*=\s*'(.*?)'", f.read()).group(1)
print(f"version = {version!r}")
# print(long_description)
setup(
name="pysimple-log",
license='Apache License 2.0',
version=version,
packages=find_namespace_packages(include=["simplelog.*", "simplelog"]),
zip_safe=False,
include_package_data=True,
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/changyubiao/pysimple-log.git',
author='frank',
author_email='15769162764@163.com',
description='simple log configuration',
project_urls={
"Code": "https://github.com/changyubiao/pysimple-log.git",
},
python_requires='>=3.0',
install_requires=[
"concurrent-log-handler>=0.9.16"
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: System :: Logging",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: Implementation :: CPython",
],
)