-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (30 loc) · 971 Bytes
/
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
import os
import setuptools
root = os.path.abspath(os.path.dirname(__file__))
with open('README.md', 'r', encoding='utf-8') as file:
long_description = file.read()
about = {}
with open(os.path.join(root, 'kleenlogger', '__about__.py'), 'r', encoding='utf-8') as file:
exec(file.read(), about)
packages = [
'kleenlogger'
]
setuptools.setup(
name=about['_title'],
version=about['_version'],
description=about['_description'],
long_description=long_description,
long_description_content_type='text/markdown',
author=about['_author'],
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'kleenlogger': 'kleenlogger'},
license=about['_license'],
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)